mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-11-16 20:26:27 +00:00
19 lines
309 B
Lua
19 lines
309 B
Lua
vim.g.goyo_width = 120
|
|
|
|
vim.cmd([[
|
|
command Zen :Goyo
|
|
|
|
function! s:goyo_enter()
|
|
Limelight
|
|
endfunction
|
|
|
|
function! s:goyo_leave()
|
|
Limelight!
|
|
endfunction
|
|
|
|
augroup zenevents
|
|
autocmd! User GoyoEnter nested call <SID>goyo_enter()
|
|
autocmd! User GoyoLeave nested call <SID>goyo_leave()
|
|
augroup end
|
|
]])
|