|
|
🦋 vim rules!
Here's a neat trick: let's say you forgot to close a code block somewhere in a large C source file, and you can't figure out where, and the compiler is not helping you. Try putting a } character at the very end of the file, placing the cursor on it, and presing the % key -- vim will jump to the most recent { which was not matched by a }. (Note: this will not work if you have unmatched {'s inside conditional compilation blocks, which is generally a bad habit anyway.)
posted afternoon of Wednesday, February 13th, 2008 ➳ More posts about Programming ➳ More posts about Programming Projects ➳ More posts about Projects
| |
|
Drop me a line! or, sign my Guestbook. • Check out Ellen's writing at Patch.com.
| |