redefined some key-binds
This commit is contained in:
@@ -1,10 +1,18 @@
|
|||||||
function fish_user_key_bindings
|
function fish_user_key_bindings
|
||||||
|
# Word movement
|
||||||
bind ctrl-right forward-word
|
bind ctrl-right forward-word
|
||||||
bind ctrl-left backward-word
|
bind ctrl-left backward-word
|
||||||
bind alt-backspace backward-kill-word
|
|
||||||
|
# Deletes a standard word (matches the movement of ctrl-left/right)
|
||||||
|
bind ctrl-backspace backward-kill-word
|
||||||
|
|
||||||
|
# Deletes "more" - a big word (ignores punctuation, stops only at spaces)
|
||||||
|
bind alt-backspace backward-kill-bigword
|
||||||
|
bind shift-backspace backward-kill-bigword
|
||||||
|
|
||||||
|
# Your other existing bindings
|
||||||
bind alt-d kill-word
|
bind alt-d kill-word
|
||||||
bind ctrl-w backward-kill-path-component
|
bind ctrl-w backward-kill-path-component
|
||||||
bind alt-. history-token-search-backward
|
bind alt-. history-token-search-backward
|
||||||
bind alt-s sudo
|
|
||||||
bind ctrl-x,ctrl-e edit_command_buffer
|
bind ctrl-x,ctrl-e edit_command_buffer
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user