Fix some fname-specific settings when run with path + fix win-size complaints

This commit is contained in:
Kevin MacMartin 2015-01-03 03:57:19 -05:00
parent 87183878a9
commit 371f1b9627
2 changed files with 5 additions and 5 deletions

View file

@ -34,11 +34,11 @@ endif
autocmd BufNewFile,BufRead *muttrc setlocal ft=muttrc autocmd BufNewFile,BufRead *muttrc setlocal ft=muttrc
autocmd BufNewFile,BufRead *vimpagerrc setlocal ft=vim autocmd BufNewFile,BufRead *vimpagerrc setlocal ft=vim
autocmd BufNewFile,BufRead *ircd.conf setlocal ft=json autocmd BufNewFile,BufRead *ircd.conf setlocal ft=json
autocmd BufNewFile,BufRead pacman.conf,yaourtrc setlocal ft=sh autocmd BufNewFile,BufRead *pacman.conf,*yaourtrc setlocal ft=sh
autocmd BufNewFile,BufRead cjdroute.conf,cjdmaid.conf setlocal ft=json autocmd BufNewFile,BufRead *cjdroute.conf,*cjdmaid.conf setlocal ft=json
"filename specific settings "filename specific settings
autocmd BufEnter,BufRead PKGBUILD setlocal iskeyword-=. autocmd BufNewFile,BufRead PKGBUILD setlocal iskeyword-=.
"filtype specific settings "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 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

View file

@ -56,8 +56,8 @@
"USER INTERFACE: {{{ "USER INTERFACE: {{{
set laststatus=2 showcmd statusline=%F%m%r%h%w[%L][%{&ff}]%y[%p%%][%04l,%04v] "statusline init and config 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 winheight=5 winminheight=5 "set the minimum window height to 10 lines
set winwidth=10 winminwidth=5 "set the minimum window width to 10 columns set winwidth=5 winminwidth=5 "set the minimum window width to 10 columns
set noshowmode "don't display mode information handled by lightline set noshowmode "don't display mode information handled by lightline
set lazyredraw "don't redraw the screen while macros are executing 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 set noequalalways "don't force splits to be equal in size when closing or opening one