nvim: add cosco smart colon
This commit is contained in:
parent
20cab1d614
commit
5cac9eae73
2
.config/nvim/ftplugin/c.vim
Normal file
2
.config/nvim/ftplugin/c.vim
Normal file
@ -0,0 +1,2 @@
|
||||
nmap <silent> <Leader>; <Plug>(cosco-commaOrSemiColon)
|
||||
imap <silent> <Leader>; <c-o><Plug>(cosco-commaOrSemiColon)
|
2
.config/nvim/ftplugin/cpp.vim
Normal file
2
.config/nvim/ftplugin/cpp.vim
Normal file
@ -0,0 +1,2 @@
|
||||
nmap <silent> <Leader>; <Plug>(cosco-commaOrSemiColon)
|
||||
imap <silent> <Leader>; <c-o><Plug>(cosco-commaOrSemiColon)
|
@ -99,6 +99,7 @@ require("lazy").setup({
|
||||
"liuchengxu/vista.vim",
|
||||
"mhinz/vim-startify",
|
||||
"https://git.mathux.org/mathieu/taglist.git",
|
||||
"lfilho/cosco.vim",
|
||||
-- Highlight todo, notes, etc in comments
|
||||
{
|
||||
"folke/todo-comments.nvim",
|
||||
|
Loading…
Reference in New Issue
Block a user