Thursday, April 1, 2010

Moving to start of a block - question

G'Day!

Say I have the following code:

L#
1 void main()
2 {
3 fun1()
4 }
5
6 void fun1(){
7 ...
8 }

If at L3 I type '[[' (without quotes) in command mode then vim takes
the cursor to L2.
If at L7 I type '[[' (without quotes) in command mode then vim takes
the cursor to L2. Should it not take me to L6 instead? Can anyone
suggest what setting would make vim work like latter?

Cheers!

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

To unsubscribe, reply using "remove me" as the subject.

No comments: