mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-22 01:51:14 -03:00
Commands to move by entire tokens
ja: I'll try to add default bindings in a follow-up PR. Closes #10738 Closes #2014
This commit is contained in:
committed by
Johannes Altmanninger
parent
e4c7a522ff
commit
a9cee9e755
@@ -103,7 +103,7 @@ The following options are available:
|
||||
Displays help about using this command.
|
||||
|
||||
.. _special-input-functions:
|
||||
|
||||
|
||||
Special input functions
|
||||
-----------------------
|
||||
The following special input functions are available:
|
||||
@@ -125,12 +125,18 @@ The following special input functions are available:
|
||||
``backward-bigword``
|
||||
move one whitespace-delimited word to the left
|
||||
|
||||
``backward-token``
|
||||
move one argument to the left
|
||||
|
||||
``backward-delete-char``
|
||||
deletes one character of input to the left of the cursor
|
||||
|
||||
``backward-kill-bigword``
|
||||
move the whitespace-delimited word to the left of the cursor to the killring
|
||||
|
||||
``backward-kill-token``
|
||||
move the argument to the left of the cursor to the killring
|
||||
|
||||
``backward-kill-line``
|
||||
move everything from the beginning of the line to the cursor to the killring
|
||||
|
||||
@@ -209,6 +215,9 @@ The following special input functions are available:
|
||||
``forward-bigword``
|
||||
move one whitespace-delimited word to the right
|
||||
|
||||
``forward-token``
|
||||
move one argument to the right
|
||||
|
||||
``forward-char``
|
||||
move one character to the right; or if at the end of the commandline, accept the current autosuggestion.
|
||||
If the completion pager is active, select the next completion instead.
|
||||
@@ -253,7 +262,7 @@ The following special input functions are available:
|
||||
read another character and jump to its next occurence after/before the cursor
|
||||
|
||||
``forward-jump-till`` and ``backward-jump-till``
|
||||
jump to right *before* the next occurence
|
||||
jump to right *before* the next occurrence
|
||||
|
||||
``repeat-jump`` and ``repeat-jump-reverse``
|
||||
redo the last jump in the same/opposite direction
|
||||
@@ -273,6 +282,9 @@ The following special input functions are available:
|
||||
``kill-bigword``
|
||||
move the next whitespace-delimited word to the killring
|
||||
|
||||
``kill-token``
|
||||
move the next argument to the killring
|
||||
|
||||
``kill-line``
|
||||
move everything from the cursor to the end of the line to the killring
|
||||
|
||||
|
||||
Reference in New Issue
Block a user