[clug] Favourite shell one liner

Brendan Jurd direvus at gmail.com
Tue Dec 20 22:00:36 MST 2011


On 21 December 2011 15:20, Andrew Janke <a.janke at gmail.com> wrote:
> On 21 December 2011 14:14, Brendan Jurd <direvus at gmail.com> wrote:
>> Also good for correcting typos without having to fool around with
>> arrow keys, or M-b and M-f.
>
>   $ head -3 ~/.inputrc
>   # !wimps use vi
>   set editing-mode vi
>   set keymap vi
>
> Now Esc '-' and edit your C/L's to your hearts content.

I am in your debt sir!  I didn't even know this was possible.  I feel
so much more at home with this setup.

Cheers,
BJ


More information about the linux mailing list