move vim cursor after a function

Posted by emergence on Stack Overflow See other posts from Stack Overflow or by emergence
Published on 2010-03-08T11:56:57Z Indexed on 2010/03/08 22:36 UTC
Read the original article Hit count: 245

Filed under:
|
|

I'm using both the supertab and snipmate plugins. Let's say I'm using snipmate to create an if statement structure. Once I'm done adding statements inside the if-statement, how can I quickly move the cursor after the if-statement. For example:

if [ $a = "b" ]; then bla; fi

If my cursor is right on the semicolon and I'm in insert mode. What is the fewest number of actions I can take to move the cursor to the line after the 'fi'? If I press tab, supertab just open an autocomplete window.

Thanks

© Stack Overflow or respective owner

Related posts about vim

Related posts about autocomplete