>...I typed :3k<Enter> and got error E471 which says an
> argument is required...
>You seem to be confusing Vim's command line with Bash's command line.
I agree with Gary, but would add two points:
1) In bash with set -o vi, one presses escape first (not :) to get to
what the book calls "vi control mode", then 3k to go up 3 lines in the
history. And despite the book's lyricism about h,j,k,l, if bash is
set up properly (usually is these days) the arrow keys will work.
2) In vim's command line mode, 3k won't work, that sets a mark on line
3, (or E16: Invalid range if you haven't got a line 3). It's :k<cr>
that gave you error E471. If you want to navigate *vim's* command
history with vim normal mode commands (like 3k to go up 3 lines), you
want the "Command-line window" in vim, by default reached with ctrl-f
on the command line, or q: in normal mode.
And a third, vim's help is very good, it caters for a wide range of
users. Even vim gurus use it! Type :help in vim to get started.
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
Subscription settings: http://groups.google.com/group/vim_use/subscribe?hl=en