mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-22 01:13:00 +02:00
package/klish: add support for insert-comment
Type a command, regret you typed so much before checking something else, comment it out for later with Meta-# (Alt-Shift-3). The whole line is now commented out and saved to history. Recall it later with Ctrl-P or Up arrow, delete the leading # with Ctrl-D, and run it. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -31,6 +31,7 @@ CLI has several keybindings, most significant first:
|
||||
| Ctrl-q | Ctrl-v | Insert next character literally |
|
||||
| Ctrl-r | | History, reversed interactive search (i-search) |
|
||||
| Ctrl-t | | Transpose/Swap characters before and at cursor |
|
||||
| Meta-# | Alt-Shift-3 | Prepend # to current line and submit to history |
|
||||
|
||||
## What is Meta?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user