diff --git a/.vimrc b/.vimrc index d5b701d..6fb483e 100644 --- a/.vimrc +++ b/.vimrc @@ -275,10 +275,25 @@ if v:version >= 704 Plugin 'vim-pandoc/vim-pandoc' endif + " Distraction-free writing, start with V (\V or ,V in this config) Plugin 'junegunn/goyo.vim' let g:goyo_width = 120 +" Help focus on text by dimming other parts a bit +Plugin 'junegunn/limelight.vim' +let g:limelight_conceal_ctermfg = 'Grey69' +let g:limelight_conceal_ctermfg = 145 + +" Helps with writing prose (better line breaks, agnostic on soft line wraps vs +" hard line breaks etc) +Plugin 'reedes/vim-pencil' + +" Toggle Gogo with Limelight and Pencil together with Ctrl+F11 +"map :Goyo :Limelight!! :TogglePencil +nmap V :Goyo :Limelight!! :TogglePencil + + " undotree.vim : Display your undo history in a graph. Plugin 'mbbill/undotree' nnoremap u :UndotreeToggle