[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Keybinding "yank 0th arg", "delete backward argument"
From: |
Com MN PG P E B Consultant 3 |
Subject: |
Keybinding "yank 0th arg", "delete backward argument" |
Date: |
Thu, 23 Mar 2006 14:08:22 +0100 |
I would find the following two functions useful in bash command line
editing; is it possible
to simulate them somehow with the current bash version, or would this
have to be a new feature
in a future version of bash?
(1) yank 0th arg, similar to yank-last-arg, but copies the command part
of the previous line
into the current buffer. Example: The previous line was
/usr/local/bin/perl myprog.pl
then yank-0th-arg should insert /usr/local/bin/perl into the buffer.
(2) delete-backward-argument, similar to delete-backward-word, but
should delete everything
to the left until the first white space.
Ronald
--
Ronald Fischer (phone +49-89-63676431)
mailto:mn-pg-p-e-b-consultant-3.com@siemens.com
- Keybinding "yank 0th arg", "delete backward argument",
Com MN PG P E B Consultant 3 <=