mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
feat(nvim): Add multiple edit plugins
This commit is contained in:
parent
be9a65738c
commit
a5218cdea7
13 changed files with 137 additions and 42 deletions
18
tools/nvim/lua/keymaps/visual-multi.lua
Normal file
18
tools/nvim/lua/keymaps/visual-multi.lua
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
vim.g.VM_mouse_mappings = 1
|
||||
vim.g.VM_default_mappings = 0
|
||||
vim.g.VM_custom_motions = {
|
||||
-- https://github.com/mg979/vim-visual-multi/issues/93
|
||||
h = "h",
|
||||
n = "j",
|
||||
e = "k",
|
||||
i = "l",
|
||||
j = "e",
|
||||
}
|
||||
|
||||
vim.g.VM_maps = {
|
||||
["Add Cursor Down"] = "<A-n>",
|
||||
["Add Cursor Up"] = "<A-e>",
|
||||
["i"] = "l",
|
||||
["I"] = "L",
|
||||
["n"] = "n",
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue