neovide
This commit is contained in:
parent
aa8c6f29a8
commit
b1db9c8278
2 changed files with 8 additions and 1 deletions
|
@ -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 _
|
||||
|
|
|
@ -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")),
|
||||
|
|
Loading…
Reference in a new issue