diff --git a/modules/neovim.nix b/modules/neovim.nix index 2c72156..9f5045f 100644 --- a/modules/neovim.nix +++ b/modules/neovim.nix @@ -9,6 +9,7 @@ in with lib; { home-manager.users.jade = { pkgs,... } : { home.packages = with pkgs; [ rust-analyzer + neovide ]; programs.neovim = { enable = true; @@ -121,6 +122,12 @@ in with lib; { }; # }}} extraConfig = '' + " neovide + let g:neovide_refresh_rate_idle=5 + let g:neovide_cursor_animation_length=0.2 + let g:neovide_cursor_trail_size=0.2 + let g:neovide_cursor_vfx_mode="railgun" + set fdm=marker nmap H _ diff --git a/other/xkeysnail.py b/other/xkeysnail.py index f74803b..5ee16b1 100644 --- a/other/xkeysnail.py +++ b/other/xkeysnail.py @@ -37,7 +37,7 @@ define_keymap(re.compile("Firefox|Google-chrome|LibreWolf|Chromium"), { }, "Firefox and Chrome") #basic emacs -define_keymap(lambda wm_class: wm_class not in ("Emacs", "konsole", "cool-retro-term", "kitty", "jetbrains-webstorm", "jetbrains-clion", "jetbrains-pycharm", "jetbrains-dataspell", "jetbrains-idea", "Gimp-2.10", "obsidian", "gw2-64.exe"), { +define_keymap(lambda wm_class: wm_class not in ("Emacs", "konsole", "cool-retro-term", "kitty", "jetbrains-webstorm", "jetbrains-clion", "jetbrains-pycharm", "jetbrains-dataspell", "jetbrains-idea", "Gimp-2.10", "obsidian", "gw2-64.exe", "neovide"), { # Cursor K("C-b"): with_mark(K("left")), K("C-f"): with_mark(K("right")),