diff options
author | DrNuget <drnuget@outlook.com> | 2025-01-20 15:27:07 +0200 |
---|---|---|
committer | DrNuget <drnuget@outlook.com> | 2025-01-20 15:27:07 +0200 |
commit | 3fef6b37b8ac03518e6f96de164e98d10f3f30de (patch) | |
tree | 1f85d121917c57fa56da10c7012236cca007f2e7 | |
parent | 5ba0f7f99c2912184949dabae9fa63b34e04f461 (diff) |
vimrc change c include macro
-rw-r--r-- | .config/nvim/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index c15d949..6915a68 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -31,7 +31,7 @@ vim.cmd([[ " Some C Macros autocmd Filetype c inoremap im<tab> int<space>main()<enter>{<enter><enter>return<space>0;<enter>}<up><up><tab> - autocmd Filetype c inoremap I<tab> #include<space><><left> + autocmd Filetype c inoremap i<tab> #include<space><><left> autocmd Filetype c inoremap w<tab> while()<space>{<enter>}<esc>ke2li autocmd Filetype c inoremap f<tab> for(;;)<space>{<enter>}<esc>ke2li autocmd Filetype c inoremap s<tab> switch()<space>{<enter>}<esc>ke2li |