From b291eb6072a8898edc1496cfa5a204450acb6213 Mon Sep 17 00:00:00 2001 From: albert Date: Fri, 16 Feb 2024 19:54:13 +0900 Subject: [PATCH] shortcuts for multicursor --- home-manager/common/software/cli/nixvim-base.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/home-manager/common/software/cli/nixvim-base.nix b/home-manager/common/software/cli/nixvim-base.nix index 1e4e977b..bdc3e746 100644 --- a/home-manager/common/software/cli/nixvim-base.nix +++ b/home-manager/common/software/cli/nixvim-base.nix @@ -86,6 +86,12 @@ (nmap "bn" ":bnext" // desc "Next buffer") (nmap "bN" ":bNext" // desc "Previous buffer") (nmap "bc" ":bdelete" // desc "[c]lose buffer") + # Multicursors + (nmap "ms" ":MCstart" // desc "[S]tart Multicorsor") + (nmap "mv" ":MCvisual" // desc "[V]isual Multicorsor") + (nmap "mc" ":MCclear" // desc "[C]lear Multicorsor") + (nmap "mu" ":MCunderCursor" // desc "Select [U]nder Corsor") + (nmap "mp" ":MCpattern" // desc "Select [P]attern") ]; plugins = { @@ -145,6 +151,7 @@ "w" = "Manage Windows..."; "wo" = "Open New..."; "wr" = "Resize..."; + "m" = "Multicursor..."; }; };