[Novalug] .bashrc favorite shortcuts
Richard Rognlie
rrognlie@gamerz.net
Fri Nov 7 16:49:02 EST 2008
> And finally, on rare occasion, I find myself (or someone else)
> reaching for nano, but usually, I don't want automatic line wrapping,
> and I like ^K to kill from the cursor to the end of the line rather
> than removing the whole line.
File this under stupid vi tricks
in your .vimrc (or equivalent) put
map ^K d$
and the ^K is made by typing <cntl-V><cntl-K>
--
/ \__ | Richard Rognlie / Sendmail Ninja / Gamerz.NET Lackey
\__/ \ | http://www.gamerz.net/~rrognlie <rrognlie at gamerz.net>
/ \__/ | Creator of pbmserv@gamerz.net
\__/ | Helping reduce world productivity since 1994
More information about the Novalug
mailing list