浏览代码

update whichkey

Chris 4 年之前
父节点
当前提交
20b8eb1c33
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 0 1
      README.md
  2. 2 1
      vimscript/nv-whichkey/init.vim

+ 0 - 1
README.md

@@ -45,7 +45,6 @@ $HOME/.config/nvim/lua/nv-vscode/init.vim
 **HIGH PRIORITY**
 - formatting using efm server for python
 - formatting using efm server for prettier/eslint
-- add git signs to whichkey (This will require wrapping in Lua commands)
 - snippet support
 
 **LOW PRIORITY**

+ 2 - 1
vimscript/nv-whichkey/init.vim

@@ -144,9 +144,10 @@ let g:which_key_map.g = {
       \ 'j' : [':NextHunk'                         , 'next hunk'],
       \ 'k' : [':PrevHunk'                         , 'prev hunk'],
       \ 'l' : [':Git log'                          , 'log'],
+      \ 'n' : [':Neogit'                           , 'neogit'],
       \ 'p' : [':PreviewHunk'                      , 'preview hunk'],
       \ 'r' : [':ResetHunk'                        , 'reset hunk'],
-      \ 'r' : [':ResetBuffer'                      , 'reset buffer'],
+      \ 'R' : [':ResetBuffer'                      , 'reset buffer'],
       \ 's' : [':StageHunk'                        , 'stage hunk'],
       \ 'S' : [':Gstatus'                          , 'status'],
       \ 'u' : [':UndoStageHunk'                    , 'undo stage hunk'],