blob: bbe3090636648cb59447a96cf388307de9bb1925 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
Plug 'junegunn/goyo.vim'
function! s:goyo_enter()
silent !tmux set status off
endfunction
function! s:goyo_leave()
silent !tmux set status on
endfunction
autocmd! User GoyoEnter nested call <SID>goyo_enter()
autocmd! User GoyoLeave nested call <SID>goyo_leave()
let g:goyo_linenr = 1
nnoremap <leader>G :Goyo \| set linebreak<CR>:e<CR>
|