-
-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename to which_key#extensions#foo#config
- Loading branch information
1 parent
c5322b2
commit 15e1923
Showing
5 changed files
with
126 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
let s:mappings = { | ||
\ 'h': ['<Plug>(coc-explorer-key-n-h)', 'collapse node'], | ||
\ 'l': ['<Plug>(coc-explorer-key-n-l)', 'expand node'], | ||
\ 'o': ['<Plug>(coc-explorer-key-n-o)', 'expand & collapse node'], | ||
\ 'e': ['<Plug>(coc-explorer-key-n-e)', 'open'], | ||
\ 'gs': ['<Plug>(coc-explorer-key-n-gs)', 'reveal buffer in explorer'], | ||
\ 'gp': ['<Plug>(coc-explorer-key-n-gp)', 'preview'], | ||
\ 'y': ['<Plug>(coc-explorer-key-n-y)', 'copy full filepath to clipboard'], | ||
\ 'Y': ['<Plug>(coc-explorer-key-n-Y)', 'copy filename to clipboard'], | ||
\ 'c': ['<Plug>(coc-explorer-key-n-c)', 'copy file for paste'], | ||
\ 'x': ['<Plug>(coc-explorer-key-n-x)', 'cut file for paste'], | ||
\ 'p': ['<Plug>(coc-explorer-key-n-p)', 'paste files to here'], | ||
\ 'd': ['<Plug>(coc-explorer-key-n-d)', 'move file or directory to trash'], | ||
\ 'D': ['<Plug>(coc-explorer-key-n-D)', 'delete file or directory forever'], | ||
\ 'a': ['<Plug>(coc-explorer-key-n-a)', 'add a new file'], | ||
\ 'A': ['<Plug>(coc-explorer-key-n-A)', 'add a new directory'], | ||
\ 'r': ['<Plug>(coc-explorer-key-n-r)', 'rename'], | ||
\ '.': ['<Plug>(coc-explorer-key-n-.)', 'toggle hidden'], | ||
\ 'R': ['<Plug>(coc-explorer-key-n-R)', 'refresh'], | ||
\ } | ||
|
||
let g:which_key#extensions#coc_explorer#config = { | ||
\ 'no_native': v:true, | ||
\ 'mappings': s:mappings, | ||
\ } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
let s:mappings = { | ||
\ 't': 'open in new tab', | ||
\ 'T': 'open in new tab silently', | ||
\ 'i': 'open split', | ||
\ 's': 'open vsplit', | ||
\ 'gs': 'preview vsplit', | ||
\ 'o': 'open & close node', | ||
\ 'O': 'recursively open node', | ||
\ 'x': 'close parent of node', | ||
\ 'X': 'close all child nodes of current node recursively', | ||
\ 'e': 'explore selected dir', | ||
\ 'P': 'go to root', | ||
\ 'p': 'go to parent', | ||
\ 'K': 'go to first child', | ||
\ 'J': 'go to last child', | ||
\ 'C': 'change tree root to the selected dir', | ||
\ 'u': 'move tree root up a dir', | ||
\ 'U': 'move tree root up a dir but leave old root open', | ||
\ 'r': 'refresh cursur dir', | ||
\ 'R': 'refresh current root', | ||
\ 'm': 'Show menu', | ||
\ 'q': 'Close the NERDTree window', | ||
\ 'A': 'Zoom (maximize-minimize) the NERDTree window', | ||
\ '?': 'toggle help', | ||
\ } | ||
|
||
let g:which_key#extensions#nerdtree#config = { | ||
\ 'no_native': v:false, | ||
\ 'mappings': s:mappings, | ||
\ } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
let g:which_key#extensions#vista#config = { | ||
\ 'mappings': { | ||
\ '/': 'open-symbols-finder', | ||
\ 'q': 'close-vista-sidebar', | ||
\ '<CR>': 'jump-or-fold', | ||
\ } | ||
\ } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
let g:which_key#extensions#vista_kind#config = { | ||
\ 'mappings': { | ||
\ '/': 'open-symbols-finder', | ||
\ 'q': 'close-vista-sidebar', | ||
\ '<CR>': 'jump-or-fold', | ||
\ } | ||
\ } |