Posted: Tue May 19, 2009 5:46 am Post subject: [asterisk-users] Can YOU find a trailing parenthesis?
Hi,
In VI:
In 'vi', moving the cursor over any bracket, brace, etc, and then pressing '%' moves the cursor to the 'matching' bracket/brace character.
That can be very useful when programming, to find missing/extra brackets and braces. It even seems to find matching pairs of #ifdef / #endif pragmas in C/C++ programs.
Posted: Fri May 22, 2009 2:38 pm Post subject: [asterisk-users] Can YOU find a trailing parenthesis?
Markus Weiler wrote:
Quote:
Hi,
In VI:
In 'vi', moving the cursor over any bracket, brace, etc, and then
pressing '%' moves the cursor to the 'matching' bracket/brace character.
That can be very useful when programming, to find missing/extra brackets
and braces. It even seems to find matching pairs of #ifdef / #endif
pragmas in C/C++ programs.
in /etc/vimrc
set showmatch
although not really an asterisk-java issue :-)
Markus
Well vi is beyond my linux karma. But, you prompted me to see if nano
has the same ability. And it does: Alt-] . Who knew??
Very useful. Thanks for the idea.
sean
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum