shortcuts for multicursor

This commit is contained in:
albert 2024-02-16 19:54:13 +09:00
parent 7468689265
commit b291eb6072
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A

View file

@ -86,6 +86,12 @@
(nmap "<leader>bn" ":bnext<CR>" // desc "Next buffer") (nmap "<leader>bn" ":bnext<CR>" // desc "Next buffer")
(nmap "<leader>bN" ":bNext<CR>" // desc "Previous buffer") (nmap "<leader>bN" ":bNext<CR>" // desc "Previous buffer")
(nmap "<leader>bc" ":bdelete<CR>" // desc "[c]lose buffer") (nmap "<leader>bc" ":bdelete<CR>" // desc "[c]lose buffer")
# Multicursors
(nmap "<leader>ms" ":MCstart<CR>" // desc "[S]tart Multicorsor")
(nmap "<leader>mv" ":MCvisual<CR>" // desc "[V]isual Multicorsor")
(nmap "<leader>mc" ":MCclear<CR>" // desc "[C]lear Multicorsor")
(nmap "<leader>mu" ":MCunderCursor<CR>" // desc "Select [U]nder Corsor")
(nmap "<leader>mp" ":MCpattern<CR>" // desc "Select [P]attern")
]; ];
plugins = { plugins = {
@ -145,6 +151,7 @@
"<leader>w" = "Manage Windows..."; "<leader>w" = "Manage Windows...";
"<leader>wo" = "Open New..."; "<leader>wo" = "Open New...";
"<leader>wr" = "Resize..."; "<leader>wr" = "Resize...";
"<leader>m" = "Multicursor...";
}; };
}; };