Saturday, April 24, 2010

Re: Question about text from a bash book about vi-mode

On 2010-04-24, stosss wrote:
> Below is a chunk of text partially from page 41 and 42 from "Learning
> the bash Shell 3rd Edition" and it is talking about being in vi-mode.
> It seems to be describing things the opposite of what is correct. Some
> of it doesn't make any sense at all. The header is, Moving Around in
> the History List, but it is talking about movement commands not the
> command history. The description of the / and ? search commands are
> reversed and the description of the G command seems a little off. When
> I think of command history, I think of typing : and then using the up
> arrow to see what I have already typed while editing the file. I tried
> what they said. I typed :3k<Enter> and got error E471 which says an
> argument is required. Am I right or wrong in my understanding of this
> text from the book?

You seem to be confusing Vim's command line with Bash's command
line. The book is describing Bash's command line--what you get at
the shell prompt--when you've set Bash's vi mode.

Bash's vi mode is not Vim. It is not related to Vim. Many commands
that you are used to using in Vim will not work with Bash.

Regards,
Gary

--
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

No comments: