mirror of
https://github.com/nmasur/dotfiles
synced 2025-04-04 22:41:11 +00:00
use ctrl-f to accept autosuggestions
This commit is contained in:
parent
59c5ca4816
commit
8e7ccbda59
@ -24,9 +24,12 @@ in
|
|||||||
|
|
||||||
nmasur.presets.programs.fish.fish_user_key_bindings = # fish
|
nmasur.presets.programs.fish.fish_user_key_bindings = # fish
|
||||||
''
|
''
|
||||||
# Shift-Enter (defined by terminal)
|
for mode in insert default visual
|
||||||
bind -M insert \x1F accept-autosuggestion
|
# Shift-Enter (defined by terminal)
|
||||||
bind -M default \x1F accept-autosuggestion
|
bind -M $mode \x1F accept-autosuggestion
|
||||||
|
# Ctrl-f to accept auto-suggestions
|
||||||
|
bind -M $mode \cf forward-char
|
||||||
|
end
|
||||||
'';
|
'';
|
||||||
|
|
||||||
programs.fish = {
|
programs.fish = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user