__fish_shared_key_bindings.fish (fish-3.5.0.tar.xz) | : | __fish_shared_key_bindings.fish (fish-3.5.1.tar.xz) | ||
---|---|---|---|---|
skipping to change at line 191 | skipping to change at line 191 | |||
bind --preset $argv "|" self-insert expand-abbr | bind --preset $argv "|" self-insert expand-abbr | |||
bind --preset $argv "&" self-insert expand-abbr | bind --preset $argv "&" self-insert expand-abbr | |||
bind --preset $argv "^" self-insert expand-abbr | bind --preset $argv "^" self-insert expand-abbr | |||
bind --preset $argv ">" self-insert expand-abbr | bind --preset $argv ">" self-insert expand-abbr | |||
bind --preset $argv "<" self-insert expand-abbr | bind --preset $argv "<" self-insert expand-abbr | |||
# Closing a command substitution expands abbreviations | # Closing a command substitution expands abbreviations | |||
bind --preset $argv ")" self-insert expand-abbr | bind --preset $argv ")" self-insert expand-abbr | |||
# Ctrl-space inserts space without expanding abbrs | # Ctrl-space inserts space without expanding abbrs | |||
bind --preset $argv -k nul 'test -n "$(commandline)" && commandline -i " "' | bind --preset $argv -k nul 'test -n "$(commandline)" && commandline -i " "' | |||
# Shift-space (CSI u escape sequence) behaves like space because it's ea sy to mistype. | # Shift-space (CSI u escape sequence) behaves like space because it's ea sy to mistype. | |||
bind --preset $argv \e\[32\;2u 'commandline -i " "; commandline -f expan d-abbr'. | bind --preset $argv \e\[32\;2u 'commandline -i " "; commandline -f expan d-abbr' | |||
bind --preset $argv \n execute | bind --preset $argv \n execute | |||
bind --preset $argv \r execute | bind --preset $argv \r execute | |||
# Control+Return behave like Return because it's easy to mistype after a ccepting an autosuggestion. | # Control+Return behave like Return because it's easy to mistype after a ccepting an autosuggestion. | |||
bind --preset $argv \e\[27\;5\;13~ execute # Sent with XTerm.vt100.forma tOtherKeys: 0 | bind --preset $argv \e\[27\;5\;13~ execute # Sent with XTerm.vt100.forma tOtherKeys: 0 | |||
bind --preset $argv \e\[13\;5u execute # CSI u sequence, sent with XTerm .vt100.formatOtherKeys: 1 | bind --preset $argv \e\[13\;5u execute # CSI u sequence, sent with XTerm .vt100.formatOtherKeys: 1 | |||
end | end | |||
end | end | |||
function __fish_commandline_insert_escaped --description 'Insert the first arg e scaped if a second arg is given' | function __fish_commandline_insert_escaped --description 'Insert the first arg e scaped if a second arg is given' | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |