aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src
diff options
context:
space:
mode:
authorGravatar Federico Ferri <federico.ferri@cern.ch>2016-03-20 02:08:23 +0100
committerGravatar Kurtis Rader <krader@skepticism.us>2016-03-20 19:22:04 -0700
commit168a156e5896fcaaf82a1b36587cde948f1765be (patch)
tree5cace4212475745aad732479bdcefe826c18897c /doc_src
parent879ee61a30aa495456649e2b53714664264ff1bb (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 'doc_src')
-rw-r--r--doc_src/bind.txt8
1 files changed, 8 insertions, 0 deletions
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