diff --git a/alacritty.configlink/alacritty.yml b/alacritty.configlink/alacritty.yml index ef004f6..d9a6a17 100644 --- a/alacritty.configlink/alacritty.yml +++ b/alacritty.configlink/alacritty.yml @@ -593,15 +593,17 @@ key_bindings: # Reference for escape codes: https://www.gaijin.at/en/infos/ascii-ansi-character-table - - { key: A, mods: Super, chars: "\x02" } # CMD-A sends CTRL-B for tmux - - { key: D, mods: Super, chars: "\x14" } # CMD-D sends CTRL-T for fzf - - { key: O, mods: Super, chars: "\x0f" } # CMD-O sends CTRL-O for fish/vim - - { key: R, mods: Super, chars: "\x05" } # CMD-R sends CTRL-E for fish/vim - - { key: G, mods: Super, chars: "\x07" } # CMD-G sends CTRL-G for fish/vim + - { key: A, mods : Super, chars: "\x02" } # CMD-A sends CTRL-B for tmux + - { key: D, mods : Super, chars: "\x14" } # CMD-D sends CTRL-T for fzf + - { key: O, mods : Super, chars: "\x0f" } # CMD-O sends CTRL-O for fish/vim + - { key: R, mods : Super, chars: "\x05" } # CMD-R sends CTRL-E for fish/vim + - { key: G, mods : Super, chars: "\x07" } # CMD-G sends CTRL-G for fish/vim + - { key: L, mods : Super, chars: "\x1F" } # CMD-L sends null key for fish + + - { key: Return, mods : Shift, chars: "\x1b[13;2u" } + - { key: Return, mods : Control, chars: "\x1b[13;5u" } + - { key: Return, mods : Control|Shift, chars: "\x1b[13;6u" } - - { key: Return, mods: Shift, chars: "\x1b[13;2u" } - - { key: Return, mods: Control, chars: "\x1b[13;5u" } - - { key: Return, mods: Control|Shift, chars: "\x1b[13;6u" } - { key: N, mods: Command, action: SpawnNewInstance } - { key: PageUp, action: ScrollPageUp } - { key: PageUp, mode: Alt, chars: "\x1B[5~" } diff --git a/fish.configlink/functions/fish_user_key_bindings.fish b/fish.configlink/functions/fish_user_key_bindings.fish index 178199b..7861770 100644 --- a/fish.configlink/functions/fish_user_key_bindings.fish +++ b/fish.configlink/functions/fish_user_key_bindings.fish @@ -4,4 +4,5 @@ function fish_user_key_bindings bind -M insert \co 'edit' bind -M insert \ce 'recent' bind -M insert \cg 'commandline-git-commits' + bind -M insert \x1F accept-autosuggestion end