From 080d4eb5e354f98363a4b1d8f6a692299c54c389 Mon Sep 17 00:00:00 2001 From: Julian T Date: Sun, 9 Oct 2022 11:46:29 +0200 Subject: Switch to arch and 2 spaces for tabs --- vim-core/.config/nvim/init.vim | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) (limited to 'vim-core/.config') 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 -- cgit v1.2.3