RE: Keybinding "yank 0th arg", "delete backward argument"

2006-03-27 Thread Com MN PG P E B Consultant 3
> > (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. > > M-0 M-. (digi

Re: Keybinding "yank 0th arg", "delete backward argument"

2006-03-23 Thread Andreas Schwab
"Com MN PG P E B Consultant 3" <[EMAIL PROTECTED]> writes: > (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/b

Keybinding "yank 0th arg", "delete backward argument"

2006-03-23 Thread Com MN PG P E B Consultant 3
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 pr