diff options
author | Federico Ferri <federico.ferri@cern.ch> | 2016-03-20 02:08:23 +0100 |
---|---|---|
committer | Kurtis Rader <krader@skepticism.us> | 2016-03-20 19:22:04 -0700 |
commit | 168a156e5896fcaaf82a1b36587cde948f1765be (patch) | |
tree | 5cace4212475745aad732479bdcefe826c18897c /share/functions/fish_vi_key_bindings.fish | |
parent | 879ee61a30aa495456649e2b53714664264ff1bb (diff) |
implement swap-selection-start-stop function
The swap-selection-start-stop function goes to the other end of the highlighted text, the equivalent of `o' for vim visual mode.
Add binding to the swap-selection-start-stop function, `o' when in visual
mode.
Document swap-selection-start-stop, begin-selection, end-selection, kill-selection.
Diffstat (limited to 'share/functions/fish_vi_key_bindings.fish')
-rw-r--r-- | share/functions/fish_vi_key_bindings.fish | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/share/functions/fish_vi_key_bindings.fish b/share/functions/fish_vi_key_bindings.fish index 10551832..de0f8bd6 100644 --- a/share/functions/fish_vi_key_bindings.fish +++ b/share/functions/fish_vi_key_bindings.fish @@ -200,6 +200,7 @@ function fish_vi_key_bindings --description 'vi-like key bindings for fish' bind -M visual W forward-bigword bind -M visual e forward-word bind -M visual E forward-bigword + bind -M visual o swap-selection-start-stop force-repaint for key in $eol_keys bind -M visual $key end-of-line |