diff options
Diffstat (limited to '')
-rw-r--r-- | vim/vimrc | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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> |