修改快捷键
This commit is contained in:
parent
ddbce142df
commit
2c922d98ea
@ -1,10 +1,14 @@
|
||||
vim.g.mapleader = " "
|
||||
|
||||
vim.keymap.set("n", "<leader>mk", "<cmd>MarkdownPreview<cr>", { silent = true })
|
||||
# markdown
|
||||
vim.keymap.set("n", "<leader>mks", "<cmd>MarkdownPreview<cr>", { silent = true })
|
||||
vim.keymap.set("n", "<leader>mkc", "<cmd>MarkdownPreviewStop<cr>", { silent = true })
|
||||
|
||||
# tree
|
||||
vim.keymap.set("n", "<leader>ds", "<cmd>NvimTreeToggle<cr>", { silent = true })
|
||||
vim.keymap.set("n", "<leader>dc", "<cmd>NvimTreeClose<cr>", { silent = true })
|
||||
|
||||
|
||||
# buffer
|
||||
vim.keymap.set("n", "<leader>bp", "<cmd>BufferLineCyclePrev<cr>", { silent = true })
|
||||
vim.keymap.set("n", "<leader>bn", "<cmd>BufferLineCycleNext<cr>", { silent = true })
|
||||
vim.keymap.set("n", "<leader>bd", "<cmd>bd<cr>", { silent = true })
|
||||
|
Loading…
Reference in New Issue
Block a user