The "motion shortlist" I was talking of is:

  A short list of motions:
    w - until the start of the next word, EXCLUDING its first character.
    e - to the end of the current word, INCLUDING the last character.
    $ - to the end of the line, INCLUDING the last character.

This is Version 1.7 (Lesson 2.3) of the tutor, that comes with Vim 7.3 (on
Windows anyway). I know the help have great/complete information that is
easy to find, but it wasn't for me and others in the beginning.

I think it would be great adding one line about 'b' so beginners understand
there is backwards commands in this short list.

BR Anders

On Fri, Mar 9, 2012 at 4:19 PM, Benjamin R. Haskell <[email protected]> wrote:

> On Fri, 9 Mar 2012, Anders Tidbeck wrote:
>
>  A question came up on superuser.com about backwards motions in Vim:
>>
>> "To move a word forward in Vim, you press w or e. How can I move a word
>> backwards?"
>>
>> I recommended the vimtutor to get started, but as the one asking the
>> question pointed out this is not in there.
>>
>> I think that at least 'b' should be added under the motion shortlist in
>> Lesson 2.3.
>>
>
> The "motion shortlist" you mention only talks about 'hjkl', so it's not
> really a "motion shortlist", more like "the simplest motion commands".
>
> 'b' is mentioned alongside 'w', when you get to section 03.1: 'Word
> movement'.
>
> Maybe it would make sense to add a link to section 3 ("Moving around") in
> 02.3, something like this line:
>
> """
> The are many more ways to move around in Vim that are described in the
> next chapter: |usr_03|.
> """
>
> Might also help to retitle 02.3 from "Moving around" (which is confusingly
> the same as section 3's title) to "Basic movement".
>
>
> Or, from the opposite standpoint, maybe the way 'vimtutor' is laid out
> makes sense, and since it's not intended to be a reference guide, it should
> be left alone.  'b' is listed on the same screen when you do:
>
> :help w
>
> As is 'ge' when you issue:
>
> :help 'e'
>
> --
> Best,
> Ben
>
>
> --
> You received this message from the "vim_dev" 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<http://www.vim.org/maillist.php>
>

-- 
You received this message from the "vim_dev" 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

Raspunde prin e-mail lui