Re: [Vim-latex-devel] Re: matching brackets
Brought to you by:
srinathava,
tmaas
From: Carl M. <cm...@ma...> - 2002-11-12 20:02:57
|
Dear Luc, On Tue, Nov 12, 2002 at 06:29:08PM +0100, Luc Hermitte wrote: > * On Tue, Nov 12, 2002 at 08:26:48AM -0500, Carl Mueller <cm...@ma...> wrote: > > One of my biggest problems used to be mismatched brackets. > > Now I have macros which automatically type the matching > > bracket. For instance, "(" results in "()" with the cursor > > in between. Since I sometimes want only one bracket, I made > > it so that "((" results in "(". > > That is faster than typing "(" and then deleting the extra bracket. > > Not everyone may agree with this idea, so it could be an option. > > Hum ... nice idea. If you don't mind, may be I will use in my > common_brackets.vim. As the only times I need a single parenthesis are > within comments or string contexts, I use <C-V> for the remaining rare > times. > Please feel free to copy anything I've come up with; this applies to anyone else who might read these posts. Best wishes, Carl |