aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--vim/vimrc14
1 files changed, 14 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 8b0be1a..148d91a 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -48,6 +48,20 @@ set completeopt=menuone,longest
colorscheme gruber-darker
highlight SignColumn guibg=blue ctermbg=black
+" macro to go to end of sentence and add a line break (for
+" one-line-per-sentence vimming...)
+let @s = ")i\<BS>\<CR>\<Esc>"
+
+" i don't bother with folding, but it's here if i need it.
+if has('folding')
+ set foldmethod=marker
+ set foldmarker=#\ {{{,#\ }}}
+ set viewoptions=folds,options,cursor,unix,slash
+endif
+
+" disable folding by default with vim-markdown
+let g:vim_markdown_folding_disabled = 1
+
" Open vimrc
nnoremap <leader>ev <C-w>s<C-w>j<C-w>L:e $HOME/.vim/vimrc<cr>