add(nvim): improved keymaps

This commit is contained in:
Léana 江 2023-04-02 13:49:19 +02:00
parent 9e9b03a7a1
commit a1aff2d68e
9 changed files with 75 additions and 90 deletions

View file

@ -41,7 +41,5 @@ require("iswap").setup {
hl_grey_priority = '1000',
}
vim.keymap.set('n', "s<Left>", ":ISwapNodeWithLeft<CR>",
{ noremap = false, silent = true, desc = "Swap argument with left" })
vim.keymap.set('n', "s<Right>", ":ISwapNodeWithRight<CR>",
{ noremap = false, silent = true, desc = "Swap argument with right" })
vim.keymap.set('n', "s<Left>", ":ISwapNodeWithLeft<CR>", { desc = "Swap argument with left" })
vim.keymap.set('n', "s<Right>", ":ISwapNodeWithRight<CR>", { desc = "Swap argument with right" })