From 168a156e5896fcaaf82a1b36587cde948f1765be Mon Sep 17 00:00:00 2001 From: Federico Ferri Date: Sun, 20 Mar 2016 02:08:23 +0100 Subject: 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. --- doc_src/bind.txt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'doc_src') diff --git a/doc_src/bind.txt b/doc_src/bind.txt index 813026c3..9b1f34a0 100644 --- a/doc_src/bind.txt +++ b/doc_src/bind.txt @@ -75,6 +75,8 @@ The following special input functions are available: - `beginning-of-line`, move to the beginning of the line +- `begin-selection`, start selecting text + - `capitalize-word`, make the current word begin with a capital letter - `complete`, guess the remainder of the current token @@ -93,6 +95,8 @@ The following special input functions are available: - `end-of-line`, move to the end of the line +- `end-selection`, end selecting text + - `explain`, print a description of possible problems with the current command - `forward-bigword`, move one whitespace-delimited word to the right @@ -109,12 +113,16 @@ The following special input functions are available: - `kill-line`, move everything from the cursor to the end of the line to the killring +- `kill-selection`, move the selected text to the killring + - `kill-whole-line`, move the line to the killring - `kill-word`, move the next word to the killring - `suppress-autosuggestion`, remove the current autosuggestion +- `swap-selection-start-stop`, go to the other end of the highlighted text without changing the selection + - `transpose-chars`, transpose two characters to the left of the cursor - `transpose-words`, transpose two words to the left of the cursor -- cgit v1.2.3