Vi-mode: Also share end/home bindings

Fixes #3298.
This commit is contained in:
Fabian Homborg
2016-09-03 19:27:42 +02:00
parent 6b1801063b
commit 1bc887cd9f
3 changed files with 7 additions and 5 deletions

View File

@@ -74,6 +74,9 @@ function __fish_shared_key_bindings -d "Bindings shared between emacs and vi mod
bind $argv \cc __fish_cancel_commandline
bind $argv \cu backward-kill-line
bind $argv \cw backward-kill-path-component
bind $argv \e\[F end-of-line
bind $argv \e\[H beginning-of-line
bind $argv \ed 'set -l cmd (commandline); if test -z "$cmd"; echo; dirh; commandline -f repaint; else; commandline -f kill-word; end'
bind $argv \cd delete-or-exit