« get me outta code hell

dotfiles - Miscellaneous configuration files of my personal use
about summary refs log tree commit diff
path: root/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to '.vimrc')
-rwxr-xr-x.vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index e2acbc9..fd195a9 100755
--- a/.vimrc
+++ b/.vimrc
@@ -173,6 +173,9 @@ autocmd FileType c,cpp,h,hpp set smartindent
 " word wrap javascript comments
 autocmd BufEnter,BufNew *.js autocmd CursorMoved,CursorMovedI * :if match(getline('.'), '^\s*//') == 0 | :setlocal textwidth=80 | :else | :setlocal textwidth=0 | :endif
 
+" text (txt) overrides
+au FileType text setlocal wrap
+
 " yaml overrides
 au FileType yaml setlocal indentexpr=
 au FileType yaml nmap <buffer> { ?---\+<CR>