nvim: init.vim: Autoresize window

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2019-11-26 19:53:18 +05:30
parent b304adcfdd
commit 9e7dcba80a

View file

@ -410,6 +410,8 @@ autocmd BufRead,BufNewFile */gstreamer-*/*.[ch] set et sw=2
autocmd BufRead,BufNewFile */pulseaudio/*.[ch] set et sw=4 tw=128 autocmd BufRead,BufNewFile */pulseaudio/*.[ch] set et sw=4 tw=128
" Spell Checking " Spell Checking
autocmd BufRead,BufNewFile *.md,*.txt setlocal spell spelllang=en_uk autocmd BufRead,BufNewFile *.md,*.txt setlocal spell spelllang=en_uk
" Automatically resize the window
autocmd VimResized * wincmd =
" For swoop " For swoop
let g:swoopUseDefaultKeyMap = 0 let g:swoopUseDefaultKeyMap = 0