PATCH: FEATURE_EDITING_EXT: Support for more bash/readline(ish) functions in line editing
Flemming Madsen
busybox at themadsens.dk
Mon Sep 26 19:17:09 UTC 2011
FEATURE_EDITING_EXT: Support for more bash/readline(ish) functions in line
editing
Signed-off-by: Flemming Madsen <busybox at themadsens.dk>
---
1) Completion menu for browsing completion matches with S-Tab/Tab
readline function: menu-complete, menu-complete-backward
(unbound by default)
2) Find commands matching prefix before cursor with M-p M-n
readline function: history-search-forward, history-search-backward
(unbound by default)
I find these easier to use than C-R incremental search,
but this is of course a matter of taste.
3) Insert last word of previous (repeated) command with M-. or M-_
readline function: yank-last-arg (M-., M-_)
4) Word/identifier deletion and movement aliases M-w M-b M-f
readline function: kill-word (M-d), backward-kill-word (M-Rubout)
5) Redraw line with C-X (And C-R if incremental search is disabled)
readline function: redraw-current-line
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 05-lineedit-meta-commands.patch
Type: text/x-patch
Size: 19577 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20110926/aa573dee/attachment-0001.bin>
More information about the busybox
mailing list