Community discussions

MikroTik App
 
mangelo
just joined
Topic Author
Posts: 1
Joined: Thu May 21, 2015 6:58 am

Feature request: CTRL-W in line editing.

Thu May 21, 2015 3:46 pm

Hi!. Please, add the CTRL-W shortcut for delete the previous word like Bash, Cisco, Juniper, and many others. Thanks.
 
ryanachapman
just joined
Posts: 1
Joined: Tue Aug 04, 2015 6:48 pm

Re: Feature request: CTRL-W in line editing.

Tue Aug 04, 2015 7:00 pm

+1

Could you also add the other readline(3) shortcuts, such as:

Ctrl-u Delete from current cursor position to beginning of line
Alt-f Move cursor forward one word
Alt-b Move cursor back one word


I know the history searching may be more difficult to implement, but it would be nice to have:

Ctrl-r Search backwards through history (press Ctrl-r, enter search text, Ctrl-r to find next, Alt-> to return to what you were doing, meaning to be able to enter a new command)
Alt-> Move to current line being entered
Ctrl-s Search forwards through history

Full list in the readline man page http://linux.die.net/man/3/readline, although they use the notation C-r to indicate Ctrl-r and M-d to indicate Alt-d (m=meta)
 
cmaney
just joined
Posts: 18
Joined: Sat Aug 12, 2017 1:23 am

Re: Feature request: CTRL-W in line editing.

Sat Aug 12, 2017 10:31 pm

+1

Ctrl-w (delete previous "word")
Ctrl-u (delete to beginning of line)
Ctrl-h (delete one character)

Please!
 
alfredo
newbie
Posts: 43
Joined: Wed Jul 01, 2015 3:06 pm

Re: Feature request: CTRL-W in line editing.

Tue Sep 26, 2017 1:56 pm

+1. I miss Control-W very much.
 
yQWzAzwU
just joined
Posts: 4
Joined: Wed Jun 29, 2022 1:27 am

Re: Feature request: CTRL-W in line editing.

Wed Sep 13, 2023 4:42 am

+1
I would also love this

Who is online

Users browsing this forum: 3dfx, jaisal, pants6000, Valerio5000 and 188 guests