diff options
Diffstat (limited to 'vim-core')
-rw-r--r-- | vim-core/.config/nvim/init.vim | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/vim-core/.config/nvim/init.vim b/vim-core/.config/nvim/init.vim index 81d69c9..070e076 100644 --- a/vim-core/.config/nvim/init.vim +++ b/vim-core/.config/nvim/init.vim @@ -20,12 +20,12 @@ filetype plugin indent on " required " Do not create the tilde files set nobackup - set tabstop=4 - set shiftwidth=4 + set tabstop=2 + set shiftwidth=2 set expandtab set colorcolumn=80 - set softtabstop=4 + set softtabstop=2 set autoindent set smartindent @@ -68,15 +68,18 @@ filetype plugin indent on " required augroup end"}}} " Language specific{{{ - autocmd FileType python set et - autocmd FileType go setlocal noet - autocmd FileType nix setlocal shiftwidth=4 softtabstop=4 - autocmd FileType vim setlocal foldmethod=marker"}}} - autocmd BufNewFile,BufRead *.tex - \ set nocursorline | - \ set nornu | - \ set number | - \ let g:loaded_matchparen=1 | + autocmd FileType python + \ set et | + \ set tabstop=2 | + \ set shiftwidth=2 | + autocmd FileType go setlocal noet + autocmd FileType vim setlocal foldmethod=marker + autocmd BufNewFile,BufRead *.tex + \ set nocursorline | + \ set nornu | + \ set number | + \ let g:loaded_matchparen=1 | +"}}} " File management{{{ " Fuzzy like menu |