update
This commit is contained in:
+3
-2
@@ -8,7 +8,7 @@ local map = vim.api.nvim_set_keymap
|
||||
vim.g.mapleader = "z"
|
||||
-- vim.g.maplocalleader = "\\"
|
||||
|
||||
map('n', '<F5>', '<Esc>:tabnew<CR>', opt)
|
||||
--map('n', '<F5>', '<Esc>:tabnew<CR>', opt)
|
||||
map('n', 'ff', '<Esc>:FloatermToggle<CR>', opt)
|
||||
map('t', 'ff', ':FloatermToggle<CR>', opt)
|
||||
map('n', '<leader>g', '<Esc>:CocCommand git.showBlameDoc<CR>', opt)
|
||||
@@ -68,6 +68,7 @@ map("n", "qq", ":q!<CR>", opt)
|
||||
map("n", "Q", ":qa!<CR>", opt)
|
||||
|
||||
map("n", "ww", ":w!<CR>", opt)
|
||||
map("n", "W", ":w!<CR>", opt)
|
||||
|
||||
-- insert 模式下,跳到行首行尾
|
||||
map("i", "<C-h>", "<ESC>I", opt)
|
||||
@@ -90,7 +91,7 @@ pluginKeys.nvimTreeList = {
|
||||
{ key = "i", action = "toggle_custom" }, -- 对应 filters 中的 custom (node_modules)
|
||||
{ key = ".", action = "toggle_dotfiles" }, -- Hide (dotfiles)
|
||||
-- 文件操作
|
||||
{ key = "s", action = "refresh" },
|
||||
{ key = "<F5>", action = "refresh" },
|
||||
{ key = "a", action = "create" },
|
||||
{ key = "d", action = "remove" },
|
||||
{ key = "r", action = "rename" },
|
||||
|
||||
Reference in New Issue
Block a user