From 8050930df6f990df530ba46a925ec0c71b619873 Mon Sep 17 00:00:00 2001 From: coolneng Date: Mon, 22 Feb 2021 01:56:26 +0100 Subject: [PATCH] Remove redundant lines from Goyo functions --- neovim/.config/nvim/init.vim | 6 ------ 1 file changed, 6 deletions(-) diff --git a/neovim/.config/nvim/init.vim b/neovim/.config/nvim/init.vim index 33d2aad..47062d4 100644 --- a/neovim/.config/nvim/init.vim +++ b/neovim/.config/nvim/init.vim @@ -50,9 +50,6 @@ set laststatus=0 autocmd BufNewFile,BufRead /tmp/neomutt* set filetype=markdown ""Quit whether Goyo is active or not function! s:goyo_enter() - set noshowmode - set noshowcmd - set scrolloff=999 let b:quitting = 0 let b:quitting_bang = 0 autocmd QuitPre let b:quitting = 1 @@ -60,9 +57,6 @@ function! s:goyo_enter() endfunction function! s:goyo_leave() - set showmode - set showcmd - set scrolloff=5 if b:quitting_bang qa! else