commit 9b0c9b6e40e0ed7b4b01c2765faac96d42cdbb31
parent 3287efba947ee1cd37b8eb7515d16d4b8b004faa
Author: Nirmal Kumar R <tildezero@gmail.com>
Date: Fri, 5 Apr 2024 22:27:31 +0530
Fix preferred indent style for C
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/.vimrc b/.vimrc
@@ -38,6 +38,8 @@ set ruler
set mouse=a
set noswapfile
+autocmd FileType c setlocal shiftwidth=2 softtabstop=2 expandtab
+
nnoremap <leader>n :NERDTreeFocus<CR>
nnoremap <C-n> :NERDTreeToggle<CR>
nnoremap <C-f> :NERDTreeFind<CR>