mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 01:00:05 +08:00
fix(neo-tree): use N
key binding to add node
This commit is contained in:
parent
1061082e00
commit
74f0dd84f5
@ -191,6 +191,14 @@ require("neo-tree").setup({
|
|||||||
["f"] = "filter_on_submit",
|
["f"] = "filter_on_submit",
|
||||||
["<c-x>"] = "clear_filter",
|
["<c-x>"] = "clear_filter",
|
||||||
["[g"] = "prev_git_modified",
|
["[g"] = "prev_git_modified",
|
||||||
|
["N"] = {
|
||||||
|
"add",
|
||||||
|
-- this command supports BASH style brace expansion ("x{a,b,c}" -> xa,xb,xc). see `:h neo-tree-file-actions` for details
|
||||||
|
-- some commands may take optional config options, see `:h neo-tree-mappings` for details
|
||||||
|
config = {
|
||||||
|
show_path = "none" -- "none", "relative", "absolute"
|
||||||
|
}
|
||||||
|
},
|
||||||
["]g"] = "next_git_modified",
|
["]g"] = "next_git_modified",
|
||||||
},
|
},
|
||||||
fuzzy_finder_mappings = { -- define keymaps for filter popup window in fuzzy_finder_mode
|
fuzzy_finder_mappings = { -- define keymaps for filter popup window in fuzzy_finder_mode
|
||||||
|
Loading…
Reference in New Issue
Block a user