mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-09 23:22:57 +00:00
autosuggestion keybinding
This commit is contained in:
parent
96dcac70d8
commit
e616d30fb3
@ -598,10 +598,12 @@ key_bindings:
|
||||
- { 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: N, mods: Command, action: SpawnNewInstance }
|
||||
- { key: PageUp, action: ScrollPageUp }
|
||||
- { key: PageUp, mode: Alt, chars: "\x1B[5~" }
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user