How to jump to matching brace (or tag)

I can't seem to find a way to do that. Here's an explanation:

if ( $foo )  {|<-cursor is here
     //lots of lines of code with own branches
|}<- I press a shortcut key and the cursor jumps here

The same with html tags (ie jump to the closing tag of the selected one) and




Thanks for any help.

1 comment
Comment actions Permalink

Ctrl+} -> moves caret before }, Ctrl+{ -> moves caret after {.


Please sign in to leave a comment.