diff options
author | Matthew Lemon <y@yulqen.org> | 2023-06-01 16:03:46 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2023-06-01 16:03:46 +0100 |
commit | 6864071ef37f1d0dbabe4d2be07cdf49081e9000 (patch) | |
tree | 8235eb5d4d6b46eb3e1c67422b79740ed894aab0 /vim | |
parent | bba6a526ecc4d050acde536cd16db22feb190a1a (diff) |
Markdown config changes
Diffstat (limited to 'vim')
-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> |