Compare commits

..

3 commits

Author SHA1 Message Date
Kevin MacMartin
facbd15523 Improve comments in the after config 2024-03-11 12:22:19 -04:00
Kevin MacMartin
d9f5aba9b7 Update submodules 2024-03-11 12:18:17 -04:00
Kevin MacMartin
bcc825b538 Fix text wrapping for applicable filetypes, and don't wrap text in markdown 2024-03-11 12:15:20 -04:00
4 changed files with 12 additions and 8 deletions

@ -1 +1 @@
Subproject commit 6eeaf0f3968ea1e6f135a5ee5aa01828f66611a5 Subproject commit 46714d1bed484be0d5ac7d1b078ad4be0f1a7efa

@ -1 +1 @@
Subproject commit 57205313dda0ac82ac69e21d5e2a80f3297c14cc Subproject commit 488bec03254207b1dd071be8cb1fb78434b6e777

@ -1 +1 @@
Subproject commit f363d911ed2c865b8883a42613ca529cf7a6d006 Subproject commit ecf8c8890d95991959606c6c8ab69b377c84ea90

View file

@ -27,7 +27,7 @@ autocmd FileChangedRO * nested set noreadonly
autocmd BufEnter * :syntax sync fromstart autocmd BufEnter * :syntax sync fromstart
"disable automatic line breaks "disable automatic line breaks
autocmd VimEnter * set textwidth=0 set textwidth=0
"set filetypes for various file extensions "set filetypes for various file extensions
autocmd BufNewFile,BufRead *.aspx,*.asmx,*.ascx,*.master setlocal ft=aspnet autocmd BufNewFile,BufRead *.aspx,*.asmx,*.ascx,*.master setlocal ft=aspnet
@ -37,11 +37,15 @@ autocmd FileChangedRO * nested set noreadonly
autocmd BufNewFile,BufRead *.neomuttrc setlocal ft=neomuttrc autocmd BufNewFile,BufRead *.neomuttrc setlocal ft=neomuttrc
autocmd BufNewFile,BufRead *pacman.conf setlocal ft=conf autocmd BufNewFile,BufRead *pacman.conf setlocal ft=conf
"filtype specific settings "word processing
autocmd Filetype markdown,text,gitcommit,mail setlocal nonumber spell tabstop=2 shiftwidth=2 "defaults
autocmd Filetype text,gitcommit,mail setlocal wrap nolist textwidth=80 linebreak breakat&vim breakat-=* breakat-=. breakat-=/ breakat-=? breakat-=, breakat-=: breakat-=; breakat-=! "text wrapping
"comment string
autocmd FileType tmux setlocal commentstring=#\ %s
"iskeyword
autocmd BufEnter,FileType sh setlocal iskeyword-=. autocmd BufEnter,FileType sh setlocal iskeyword-=.
autocmd Filetype text,markdown,gitcommit,mail setlocal nonumber spell nolist linebreak textwidth=80 tabstop=2 shiftwidth=2 breakat&vim breakat-=* breakat-=. breakat-=/ breakat-=? breakat-=, breakat-=: breakat-=; breakat-=! "set some defaults for word processing
autocmd Filetype text,gitcommit,mail setlocal wrap
autocmd FileType tmux setlocal commentstring=#\ %s "set the comment string to #
autocmd FileType scss setlocal iskeyword+=$ autocmd FileType scss setlocal iskeyword+=$
autocmd Filetype markdown setlocal iskeyword+=- autocmd Filetype markdown setlocal iskeyword+=-
autocmd FileType javascript setlocal iskeyword+=- iskeyword+=. autocmd FileType javascript setlocal iskeyword+=- iskeyword+=.