summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index ad05fa27..341343f3 100644
--- a/.vimrc
+++ b/.vimrc
@@ -251,7 +251,10 @@ let g:indent_guides_start_level = 2
 
 " Distraction-free editing
 Plug 'junegunn/goyo.vim'
+Plug 'junegunn/limelight.vim'
 nmap <leader>G :Goyo<CR>
+autocmd User GoyoEnter Limelight
+autocmd User GoyoLeave Limelight!
 
 " Colorschemes.
 Plug 'programble/jellybeans.vim'