mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-11-05 15:16:23 +01:00
neovide
This commit is contained in:
parent
aa8c6f29a8
commit
b1db9c8278
|
@ -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 _
|
||||||
|
|
|
@ -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")),
|
||||||
|
|
Loading…
Reference in a new issue