From d0918003f87f29e101abc3bb7f79de7ad0dacf97 Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Mon, 22 Jan 2018 10:32:42 +0100 Subject: [PATCH] Better 'no fold', use highlighting for fenced code blocks, wider vimroom --- .vimrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.vimrc b/.vimrc index 9c9b81f..166e963 100644 --- a/.vimrc +++ b/.vimrc @@ -265,6 +265,9 @@ Plugin 'godlygeek/tabular' Plugin 'plasticboy/vim-markdown' " Do not fold markdown files by default let g:vim_markdown_folding_disabled = 1 +set nofoldenable +" Use filetype name as fenced code block languages for syntax highlighting +let g:vim_markdown_fenced_languages = ['c++=cpp', 'viml=vim', 'bash=sh', 'ini=dosini', 'python=python'] if v:version >= 704 " Pandoc, for stuff like autocompletion of citations from bibtex, other LaTeX @@ -274,6 +277,7 @@ endif " Distraction-free writing, start with V (\V or ,V in this config) Plugin 'mikewest/vimroom' +let g:vimroom_width = 120 " undotree.vim : Display your undo history in a graph. Plugin 'mbbill/undotree'