diff --git a/vim/config/after.vim b/vim/config/after.vim index 9d07960..97aaf7c 100644 --- a/vim/config/after.vim +++ b/vim/config/after.vim @@ -34,11 +34,11 @@ endif autocmd BufNewFile,BufRead *muttrc setlocal ft=muttrc autocmd BufNewFile,BufRead *vimpagerrc setlocal ft=vim autocmd BufNewFile,BufRead *ircd.conf setlocal ft=json - autocmd BufNewFile,BufRead pacman.conf,yaourtrc setlocal ft=sh - autocmd BufNewFile,BufRead cjdroute.conf,cjdmaid.conf setlocal ft=json + autocmd BufNewFile,BufRead *pacman.conf,*yaourtrc setlocal ft=sh + autocmd BufNewFile,BufRead *cjdroute.conf,*cjdmaid.conf setlocal ft=json "filename specific settings - autocmd BufEnter,BufRead PKGBUILD setlocal iskeyword-=. + autocmd BufNewFile,BufRead PKGBUILD setlocal iskeyword-=. "filtype specific settings autocmd Filetype text,mkd,mkdc,gitcommit,notes,mail,notmuch,rst,taskreport setlocal nonumber spell nolist linebreak breakat&vim breakat-=* breakat-=. breakat-=/ breakat-=? breakat-=, breakat-=: breakat-=; breakat-=! "set some defaults for word processing diff --git a/vim/config/settings.vim b/vim/config/settings.vim index 8fbe30c..eccde0b 100644 --- a/vim/config/settings.vim +++ b/vim/config/settings.vim @@ -56,8 +56,8 @@ "USER INTERFACE: {{{ set laststatus=2 showcmd statusline=%F%m%r%h%w[%L][%{&ff}]%y[%p%%][%04l,%04v] "statusline init and config - set winheight=10 winminheight=5 "set the minimum window height to 10 lines - set winwidth=10 winminwidth=5 "set the minimum window width to 10 columns + set winheight=5 winminheight=5 "set the minimum window height to 10 lines + set winwidth=5 winminwidth=5 "set the minimum window width to 10 columns set noshowmode "don't display mode information handled by lightline set lazyredraw "don't redraw the screen while macros are executing set noequalalways "don't force splits to be equal in size when closing or opening one