This commit is contained in:
Schrottkatze 2022-09-16 18:49:31 +02:00
parent aa8c6f29a8
commit b1db9c8278
2 changed files with 8 additions and 1 deletions

View file

@ -9,6 +9,7 @@ in with lib; {
home-manager.users.jade = { pkgs,... } : { home-manager.users.jade = { pkgs,... } : {
home.packages = with pkgs; [ home.packages = with pkgs; [
rust-analyzer rust-analyzer
neovide
]; ];
programs.neovim = { programs.neovim = {
enable = true; enable = true;
@ -121,6 +122,12 @@ in with lib; {
}; };
# }}} # }}}
extraConfig = '' 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 set fdm=marker
nmap H _ nmap H _

View file

@ -37,7 +37,7 @@ define_keymap(re.compile("Firefox|Google-chrome|LibreWolf|Chromium"), {
}, "Firefox and Chrome") }, "Firefox and Chrome")
#basic emacs #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 # Cursor
K("C-b"): with_mark(K("left")), K("C-b"): with_mark(K("left")),
K("C-f"): with_mark(K("right")), K("C-f"): with_mark(K("right")),