change alacritty scrollback keybind to match kitty

add fonts for kitty
This commit is contained in:
Noah Masur 2022-10-30 20:15:32 -04:00
parent 2d10939285
commit c74d003a57
5 changed files with 10 additions and 3 deletions

View File

@ -34,8 +34,8 @@
chars = "\\x11F";
}
{
key = "K";
mods = "Control";
key = "H";
mods = "Control|Shift";
mode = "~Vi";
action = "ToggleViMode";
}

View File

@ -6,6 +6,7 @@
./calibre.nix
./discord.nix
./firefox.nix
./kitty.nix
./media.nix
./obsidian.nix
./qbittorrent.nix

View File

@ -9,6 +9,11 @@
font.normal.family = "FiraCode Nerd Font Mono";
};
programs.kitty.font = {
package = pkgs.nerdfonts;
name = "FiraCode";
};
};
}

View File

@ -21,6 +21,7 @@ in {
services.polybar.config."bar/main".font-0 = "Hack Nerd Font:size=10;2";
programs.rofi.font = "Hack Nerd Font 14";
programs.alacritty.settings.font.normal.family = fontName;
programs.kitty.font.name = fontName;
};
};

View File

@ -723,7 +723,7 @@ key_bindings:
- { key: L, mods: Control|Shift, chars: "\x1F" }
# Used for searching nixpkgs in fish_user_key_bindings
- { key: N, mods: Control|Shift, chars: "\x11F" }
- { key: K, mods: Control, mode: ~Vi, action: ToggleViMode }
- { key: H, mods: Control|Shift, mode: ~Vi, action: ToggleViMode }
- { key: Return, mode: Vi, action: ToggleViMode }
# Used to enable $ keybind in Vi mode
- { key: 5, mods: Shift, mode: Vi|~Search, action: Last }