dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 0d1e49cfc38a7796d938cb248aa77c928e91b7d0
parent 21cd9993a97ff5ec30d3383e15f8dd1107c60217
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Sat,  7 Dec 2019 20:20:41 -0500

vim: custom Goyo settings

Former-commit-id: 5671f0a37107ad5ba8c3ed205ec1906dacee1ab6
Diffstat:
Avim/autoload/goyo_custom.vim | 8++++++++
Avim/plugin/goyo_custom.vim | 2++
2 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/vim/autoload/goyo_custom.vim b/vim/autoload/goyo_custom.vim @@ -0,0 +1,8 @@ +function! goyo_custom#goyo_enter() + setlocal textwidth=0 wrapmargin=5 wrap + setlocal rulerformat=%=%y\ \ %{strftime(\"%H:%M\")} + setlocal ruler +endfunction +function! goyo_custom#goyo_leave() + setlocal textwidth< wrapmargin< wrap< rulerformat< ruler< +endfunction diff --git a/vim/plugin/goyo_custom.vim b/vim/plugin/goyo_custom.vim @@ -0,0 +1,2 @@ +autocmd! User GoyoEnter nested call goyo_custom#goyo_enter() +autocmd! User GoyoLeave nested call goyo_custom#goyo_leave()