From 4ed7236a6fccf027fe020330e8d0c4338a1e4aaf Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 31 Mar 2020 20:22:03 -0400 Subject: vim which key not working with neovim 0.4.0 --- modules/vim-which-key.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/vim-which-key.vim') diff --git a/modules/vim-which-key.vim b/modules/vim-which-key.vim index 962e412b..05c09ce4 100644 --- a/modules/vim-which-key.vim +++ b/modules/vim-which-key.vim @@ -105,5 +105,9 @@ call which_key#register('', "g:which_key_map") nnoremap :WhichKey '' vnoremap :WhichKeyVisual '' +" Get rid of status bar when not in use +autocmd! FileType which_key +autocmd FileType which_key set laststatus=0 noshowmode noruler + \| autocmd BufLeave set laststatus=2 showmode ruler ""nnoremap :WhichKey '' ""nnoremap :WhichKey ',' -- cgit v1.2.3