From f16928aa3f645c0d67eea145fefe6966e16654f7 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Fri, 8 Mar 2024 08:42:52 +0000 Subject: Adds Ctrl-Y for Paste keybind to alacritty --- alacritty.toml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/alacritty.toml b/alacritty.toml index 8c8a0cb..8b6a542 100644 --- a/alacritty.toml +++ b/alacritty.toml @@ -1,6 +1,7 @@ import = [ # "~/.config/alacritty/themes/themes/base16_default_dark.toml" - "~/.config/alacritty/themes/themes/ayu_dark.toml" + "~/.config/alacritty/themes/themes/ayu_dark.toml", + "~/.config/alacritty/keybindings.toml" #"~/.config/alacritty/themes/themes/gruvbox_material_hard_dark.toml" ] @@ -8,20 +9,27 @@ import = [ decorations = "Full" decorations_theme_variant = "Dark" +[keyboard] +bindings = [ +{ key = "y", mods = "Control", action = "PasteSelection" }, +] + [font] size = 13 [font.normal] -family = "monospace" -#family = "Iosevka Nerd Font Mono" +#family = "monospace" +family = "Iosevka Nerd Font Mono" style = "Regular" [font.bold] -family = "monospace" +#family = "monospace" +family = "Iosevka Nerd Font Mono" style = "Bold" [font.italic] -family = "monospace" +#family = "monospace" +family = "Iosevka Nerd Font Mono" style = "Italic" [cursor] -- cgit v1.2.3