mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 22:59:15 +00:00
add(nvim): leap!
This commit is contained in:
parent
abc384f9ce
commit
1f14e3c980
4 changed files with 8 additions and 3 deletions
|
|
@ -41,5 +41,5 @@ require "iswap".setup {
|
|||
hl_grey_priority = '1000',
|
||||
}
|
||||
|
||||
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" })
|
||||
vim.keymap.set('n', "<leader>s<Left>", ":ISwapNodeWithLeft<CR>", { desc = "Swap argument with left" })
|
||||
vim.keymap.set('n', "<leader>s<Right>", ":ISwapNodeWithRight<CR>", { desc = "Swap argument with right" })
|
||||
|
|
|
|||
1
.config/nvim/after/plugin/leap.lua
Normal file
1
.config/nvim/after/plugin/leap.lua
Normal file
|
|
@ -0,0 +1 @@
|
|||
require('leap').add_default_mappings()
|
||||
Loading…
Add table
Add a link
Reference in a new issue