On Thu, Apr 1, 2010 at 11:37 PM, Rajesh Kannan <[email protected]>wrote:
> 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?
>
>
you can type instead [m to get to L6
not a setting... but i find 'autocmd BufEnter *.java map [[ [m' in my .vimrc
pretty useful for this
> 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.
>
--
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