Distraction-free writing pad.
@@ -30,6 +30,8 @@ Plug 'altercation/vim-colors-solarized'
Plug 'itchyny/lightline.vim'
Plug 'kshenoy/vim-signature'
Plug 'nathanaelkane/vim-indent-guides'
+Plug 'junegunn/goyo.vim'
+Plug 'junegunn/limelight.vim'
" }}}
" Text Objects {{{
@@ -0,0 +1,5 @@
+" Limelight paragraph highlighting integration.
+autocmd User GoyoEnter Limelight | setlocal wrap nocursorline
+autocmd User GoyoLeave Limelight!
+
+let g:limelight_conceal_ctermfg = 240
@@ -53,6 +53,7 @@ set shortmess+=filmnrxoOtT " Abbrev. of messages (avoids 'hit enter')
set scrolloff=10 " Minimum lines to keep above and below cursor
set sidescroll=1
set sidescrolloff=15
+set linebreak " Break on words when wrapping.
set list
set listchars=tab:>\ ,trail:.,extends:#,nbsp:#