From 371f1b9627b6d7b2a5a3560279500cc21f9743f1 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Sat, 3 Jan 2015 03:57:19 -0500 Subject: [PATCH] Fix some fname-specific settings when run with path + fix win-size complaints --- vim/config/after.vim | 6 +++--- vim/config/settings.vim | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) 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