mirror of
https://github.com/junegunn/goyo.vim.git
synced 2025-11-16 15:23:50 -05:00
Update g:goyo_callbacks example
This commit is contained in:
@@ -42,11 +42,13 @@ callbacks as follows in your .vimrc.
|
||||
|
||||
```vim
|
||||
function! s:goyo_before()
|
||||
"
|
||||
silent !tmux set status off
|
||||
" ...
|
||||
endfunction
|
||||
|
||||
function! s:goyo_after()
|
||||
"
|
||||
silent !tmux set status on
|
||||
" ...
|
||||
endfunction
|
||||
|
||||
let g:goyo_callbacks = [function('s:goyo_before'), function('s:goyo_after')]
|
||||
|
||||
Reference in New Issue
Block a user