diff options
| author | Chris <[email protected]> | 2020-03-31 20:22:03 -0400 | 
|---|---|---|
| committer | Chris <[email protected]> | 2020-03-31 20:22:03 -0400 | 
| commit | 4ed7236a6fccf027fe020330e8d0c4338a1e4aaf (patch) | |
| tree | 1f1ec7b65bd65d8f423322dd9073f0a663b42d3e /modules | |
| parent | 7da740604820bab2b9a68c433828ff377811f644 (diff) | |
vim which key not working with neovim 0.4.0
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/general.vim | 4 | ||||
| -rw-r--r-- | modules/vim-which-key.vim | 4 | 
2 files changed, 5 insertions, 3 deletions
| diff --git a/modules/general.vim b/modules/general.vim index 75b9cff8..dc46f552 100644 --- a/modules/general.vim +++ b/modules/general.vim @@ -3,8 +3,6 @@ if &compatible    set nocompatible  endif -set runtimepath^=~/.config/_vim -  " set leader key  let g:mapleader="\\"  " alias for leader key @@ -19,7 +17,7 @@ set encoding=utf-8                      " The encoding displayed  set pumheight=10                        " Makes popup menu smaller  set fileencoding=utf-8                  " The encoding written to file  set ruler              					        " show the cursor position all the time -set cmdheight=2 +set cmdheight=1  set iskeyword+=-                      	" treat dash separated words as a word text object"  set mouse=a                             " Enable your mouse  set splitbelow                          " Horizontal splits will automatically be below 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('<Space>', "g:which_key_map")  nnoremap <silent> <leader> :<c-u>WhichKey '<Space>'<CR>  vnoremap <silent> <leader> :<c-u>WhichKeyVisual '<Space>'<CR> +" Get rid of status bar when not in use +autocmd! FileType which_key +autocmd  FileType which_key set laststatus=0 noshowmode noruler +  \| autocmd BufLeave <buffer> set laststatus=2 showmode ruler  ""nnoremap <silent> <leader>      :<c-u>WhichKey '<Space>'<CR>  ""nnoremap <silent> <localleader> :<c-u>WhichKey  ','<CR> | 
