mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-26 05:01:25 -05:00
Combine word-processing settings and make breakat settings more robust
This commit is contained in:
parent
a3971297aa
commit
f8cce36327
1 changed files with 1 additions and 2 deletions
|
@ -41,8 +41,7 @@ endif
|
||||||
autocmd BufEnter,BufRead PKGBUILD setlocal iskeyword-=.
|
autocmd BufEnter,BufRead PKGBUILD setlocal iskeyword-=.
|
||||||
|
|
||||||
"filtype specific settings
|
"filtype specific settings
|
||||||
autocmd FileType gitcommit,notes,mail,notmuch,text,taskreport setlocal nonumber spell nolist wrap linebreak breakat&vim "some defautls for word processing
|
autocmd Filetype text,mkd,mkdc,gitcommit,notes,mail,notmuch,taskreport setlocal nonumber spell nolist wrap linebreak breakat&vim breakat-=* breakat-=. breakat-=/ breakat-=? breakat-=, breakat-=: breakat-=; breakat-=! "set some defaults for word processing
|
||||||
autocmd Filetype mkd,mkdc setlocal nonumber spell nolist wrap linebreak breakat&vim breakat-=* breakat-=. "set some defaults for markdown
|
|
||||||
autocmd FileType help* wincmd L "help windows always open vertically
|
autocmd FileType help* wincmd L "help windows always open vertically
|
||||||
autocmd FileType help* vertical resize 80 "set the window size to 80 cols
|
autocmd FileType help* vertical resize 80 "set the window size to 80 cols
|
||||||
autocmd FileType help* setlocal nocursorline "remove the horizontal cursor line
|
autocmd FileType help* setlocal nocursorline "remove the horizontal cursor line
|
||||||
|
|
Loading…
Reference in a new issue