Best served with limelight.vim

This commit is contained in:
Junegunn Choi
2014-07-03 01:41:28 +09:00
parent ad87a5b35a
commit f303dc9307

View File

@@ -7,6 +7,8 @@ Distraction-free writing in Vim.
(Color scheme: [seoul256](https://github.com/junegunn/seoul256.vim)) (Color scheme: [seoul256](https://github.com/junegunn/seoul256.vim))
Best served with [limelight.vim](https://github.com/junegunn/limelight.vim).
Installation Installation
------------ ------------
@@ -50,21 +52,23 @@ change the default settings of Goyo window, you can define before and after
callbacks as follows in your .vimrc. callbacks as follows in your .vimrc.
```vim ```vim
function! Goyo_before() function! GoyoBefore()
silent !tmux set status off silent !tmux set status off
set noshowmode set noshowmode
set noshowcmd set noshowcmd
Limelight
" ... " ...
endfunction endfunction
function! Goyo_after() function! GoyoAfter()
silent !tmux set status on silent !tmux set status on
set showmode set showmode
set showcmd set showcmd
Limelight!
" ... " ...
endfunction endfunction
let g:goyo_callbacks = [function('Goyo_before'), function('Goyo_after')] let g:goyo_callbacks = [function('GoyoBefore'), function('GoyoAfter')]
``` ```
More examples can be found here: More examples can be found here: