aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2012-06-09 00:27:48 +1200
committerTom Ryder <tom@sanctum.geek.nz>2012-06-09 00:27:48 +1200
commitc5aaa7cf31fa5cdd8c68c70201a2e15925251345 (patch)
treedb6b139dd457eed5d8013c867fe4883443c5f326 /vim/vimrc
parentSensible completion shortcuts (diff)
downloaddotfiles-c5aaa7cf31fa5cdd8c68c70201a2e15925251345.tar.gz
dotfiles-c5aaa7cf31fa5cdd8c68c70201a2e15925251345.zip
Use more of the formatting options
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 9e9c64b9..ffd17e1b 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -28,7 +28,7 @@ if has("autocmd")
" Markdown
augroup markdown
au!
- autocmd Syntax markdown setlocal textwidth=79
+ autocmd Filetype markdown setlocal formatoptions+=t
if exists("&colorcolumn")
autocmd Filetype markdown setlocal colorcolumn=+1
endif
@@ -71,6 +71,7 @@ endif
" Formatting
set expandtab
+set formatoptions=croqan1j
set smarttab
set nojoinspaces
set shiftround