update
This commit is contained in:
+4
-2
@@ -67,6 +67,8 @@ map("n", "q", ":q<CR>", opt)
|
|||||||
map("n", "qq", ":q!<CR>", opt)
|
map("n", "qq", ":q!<CR>", opt)
|
||||||
map("n", "Q", ":qa!<CR>", opt)
|
map("n", "Q", ":qa!<CR>", opt)
|
||||||
|
|
||||||
|
map("n", "ww", ":w!<CR>", opt)
|
||||||
|
|
||||||
-- insert 模式下,跳到行首行尾
|
-- insert 模式下,跳到行首行尾
|
||||||
map("i", "<C-h>", "<ESC>I", opt)
|
map("i", "<C-h>", "<ESC>I", opt)
|
||||||
map("i", "<C-l>", "<ESC>A", opt)
|
map("i", "<C-l>", "<ESC>A", opt)
|
||||||
@@ -88,13 +90,13 @@ pluginKeys.nvimTreeList = {
|
|||||||
{ key = "i", action = "toggle_custom" }, -- 对应 filters 中的 custom (node_modules)
|
{ key = "i", action = "toggle_custom" }, -- 对应 filters 中的 custom (node_modules)
|
||||||
{ key = ".", action = "toggle_dotfiles" }, -- Hide (dotfiles)
|
{ key = ".", action = "toggle_dotfiles" }, -- Hide (dotfiles)
|
||||||
-- 文件操作
|
-- 文件操作
|
||||||
{ key = "<F5>", action = "refresh" },
|
{ key = "s", action = "refresh" },
|
||||||
{ key = "a", action = "create" },
|
{ key = "a", action = "create" },
|
||||||
{ key = "d", action = "remove" },
|
{ key = "d", action = "remove" },
|
||||||
{ key = "r", action = "rename" },
|
{ key = "r", action = "rename" },
|
||||||
{ key = "x", action = "cut" },
|
{ key = "x", action = "cut" },
|
||||||
{ key = "c", action = "copy" },
|
{ key = "c", action = "copy" },
|
||||||
{ key = "p", action = "paste" },
|
{ key = "p", action = "paste" },
|
||||||
{ key = "s", action = "system_open" },
|
{ key = "o", action = "system_open" },
|
||||||
}
|
}
|
||||||
return pluginKeys
|
return pluginKeys
|
||||||
|
|||||||
Reference in New Issue
Block a user