diff options
author | DrNuget <drnuget@outlook.com> | 2025-01-20 13:58:43 +0200 |
---|---|---|
committer | DrNuget <drnuget@outlook.com> | 2025-01-20 13:58:43 +0200 |
commit | bc75dc19ddee9c71ef8e6cff7c0bc5ebd7340bd4 (patch) | |
tree | 2012079a0c4ec99eea5a5ebda29987b9a3378ef3 | |
parent | 860e8104e46db4cf454d30d31f99c026e4ec61a9 (diff) |
vimrc change int main() macro to k&r indent style
-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 26480b3..1798928 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -30,7 +30,7 @@ vim.cmd([[ nnoremap <tab> <esc>/<++><enter>vf>da " Some C Macros - autocmd Filetype c inoremap im<tab> int<space>main()<space>{<enter><enter>return<space>0;<enter>}<up><up><tab> + 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 w<tab> while()<space>{<enter>}<esc><up>e2li autocmd Filetype c inoremap f<tab> for(;;)<space>{<enter>}<esc><up>e2li |