From 7379e9d9fcb0e2c15b9873eed2ff925488a79429 Mon Sep 17 00:00:00 2001 From: Kopatz <7265381+Kropatz@users.noreply.github.com> Date: Tue, 23 Sep 2025 23:19:28 +0200 Subject: [PATCH] multiple cursors --- .ideavimrc | 20 +++++++++++++++++++- home-manager/hyprland/hyprland-settings.nix | 7 ++++++- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/.ideavimrc b/.ideavimrc index 52fd75b..ad04c33 100644 --- a/.ideavimrc +++ b/.ideavimrc @@ -17,6 +17,8 @@ set notimeout set easymotion " install easymotion and acejump plugin set surround +set multiple-cursors " https://github.com/JetBrains/ideavim/wiki/IdeaVim%20Plugins#multiple-cursors-extends-multicursor-support + nnoremap , :action IdeaVim.ReloadVimRc.reload @@ -34,4 +36,20 @@ nnoremap S ht lrk$ vnoremap J :m '>+1gv=gv vnoremap K :m '<-2gv=gv -map l V(ReformatCode) +" --------------- multiple cursors --------------- +"map l V(ReformatCode)" Remap multiple-cursors shortcuts to match terryma/vim-multiple-cursors +nmap NextWholeOccurrence +xmap NextWholeOccurrence +nmap g NextOccurrence +xmap g NextOccurrence +xmap SkipOccurrence +xmap RemoveOccurrence + +" Note that the default and g shortcuts don't work on Mac due to dead keys. +" is used to enter accented text e.g. ñ +" Feel free to pick your own mappings that are not affected. I like to use +nmap AllWholeOccurrences +xmap AllWholeOccurrences +nmap g AllOccurrences +xmap g AllOccurrences +" --------------- end multiple cursors --------------- diff --git a/home-manager/hyprland/hyprland-settings.nix b/home-manager/hyprland/hyprland-settings.nix index 4d95235..074bc7a 100644 --- a/home-manager/hyprland/hyprland-settings.nix +++ b/home-manager/hyprland/hyprland-settings.nix @@ -120,7 +120,12 @@ in render = { new_render_scheduling = true; }; - misc = { vfr = true; middle_click_paste = false; enable_anr_dialog = false; }; + misc = { + vfr = true; + middle_click_paste = false; + enable_anr_dialog = false; + disable_hyprland_logo = true; + }; xwayland = lib.mkIf isPc { force_zero_scaling = true; }; decoration = {