[LUNI] How do you get esc "k" to work?

Martin Maney maney at pobox.com
Thu Nov 8 09:28:00 CST 2001


On Thu, Nov 08, 2001 at 08:55:18AM -0600, Jay Strauss wrote:
> to move left, and esc-k to recall my last command).  How do I get vi
> commands
> in Linux?  I don't like using the arrow keys.

According to man bash, you want

  set -o vi

<aside>
One of the things I most like about Lasser's _Think UNIX_ is that it begins
with a very fine chapter on man pages and other documentation.  There's
nothing half so fine a being able to answer the question for yourself,
relatively quickly and easily.  Of course, as he also points out, man pages
aren't without their drawbacks...
</aside>

-- 
Self-pity can make one weep, as can onions.  -- Fodor




More information about the luni mailing list