feat: add mapping for surround with quote
This commit is contained in:
parent
639aa33b90
commit
ab8fab8099
1 changed files with 2 additions and 0 deletions
|
@ -16,6 +16,8 @@ map("n", "<leader>gcn", "<cmd> GitConflictNextConflict <cr>", { desc = "Git conf
|
|||
map({ "n", "i", "v" }, "<C-s>", "<cmd> w <cr>", { desc = "Save" })
|
||||
map({ "n", "i", "v" }, "<C-x>", "<cmd> qall <cr>", { desc = "Quit" })
|
||||
map({ "n", "i", "v" }, "<C-X>", "<cmd> qall! <cr>", { desc = "Force quit" })
|
||||
map("v", "<A-s>", "di''<esc>P", { desc = "Surround selection with single quote" })
|
||||
map("v", "<A-d>", 'di""<esc>P', { desc = "Surround selection with double quote" })
|
||||
|
||||
local nomap = vim.keymap.del
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue