.vimrc - set folds
Set folds open by default in markdown files
This commit is contained in:
11
.vimrc
11
.vimrc
@@ -113,7 +113,6 @@ call plug#end()
|
||||
" ---------------------------------------------------------------------------------------------------------------------
|
||||
" ==> Plugin Options
|
||||
" Options and overrides for installed plugins
|
||||
"
|
||||
|
||||
" Vim Markdown
|
||||
" Set default conceallevel to hide links and some formatting
|
||||
@@ -123,11 +122,15 @@ let g:vim_markdown_strikethrough = 1
|
||||
" follow anchors - allow <ge> to follow anchors just like links
|
||||
let g:vim_markdown_follow_anchor = 1
|
||||
" multi-line bullets in markdown
|
||||
" r - Continue comments when pressing Enter
|
||||
" n - Recognize numbered lists
|
||||
" t - autowrap lines using text width value
|
||||
" [Reference](https://vimdoc.sourceforge.net/htmldoc/change.html#fo-table)
|
||||
" j - remove a comment leader when joining lines.
|
||||
" l - long lines are not broken in insert mode
|
||||
" n - Recognize numbered lists
|
||||
" r - Continue comments when pressing Enter
|
||||
" t - autowrap lines using text width value
|
||||
autocmd FileType markdown set formatoptions=jlnrt
|
||||
" Open folds by default
|
||||
au BufWinEnter * normal zR
|
||||
|
||||
" ---------------------------------------------------------------------------------------------------------------------
|
||||
" ==> Colors
|
||||
|
||||
Reference in New Issue
Block a user