Greg Fitzgerald wrote:
Anyone know of a way to achieve bracket completion? For example if your
typing a if statement, if (something) { once you type the first bracket
the 2nd one is inserted below for you. Scribes and a few other editors
have this functionality and was hoping to achieve it with
A.J.Mechelynck wrote:
Greg Fitzgerald wrote:
Anyone know of a way to achieve bracket completion? For example if
your typing a if statement, if (something) { once you type the first
bracket
the 2nd one is inserted below for you. Scribes and a few other editors
have this functionality and was ho
On Sun, Apr 01, 2007 at 06:01:34AM +0200, A.J.Mechelynck wrote:
> A.J.Mechelynck wrote:
> >Greg Fitzgerald wrote:
> >>Anyone know of a way to achieve bracket completion? For example if
> >>your typing a if statement, if (something) { once you type the first
> >>bracket
> >>the 2nd one is inserte
A.J.Mechelynck schrieb:
Greg Fitzgerald wrote:
Anyone know of a way to achieve bracket completion? For example if
your typing a if statement, if (something) { once you type the first
bracket
the 2nd one is inserted below for you. Scribes and a few other editors
have this functionality and wa
Those are great, thanks alot :)
On 4/1/07, Fritz Mehner <[EMAIL PROTECTED]> wrote:
A.J.Mechelynck schrieb:
> Greg Fitzgerald wrote:
>
>> Anyone know of a way to achieve bracket completion? For example if
>> your typing a if statement, if (something) { once you type the first
>> bracket
>> the 2
i am finding these usefull too, thanks
sk
On 4/2/07, Panos Laganakos <[EMAIL PROTECTED]> wrote:
Those are great, thanks alot :)
On 4/1/07, Fritz Mehner <[EMAIL PROTECTED]> wrote:
> A.J.Mechelynck schrieb:
>
> > Greg Fitzgerald wrote:
> >
> >> Anyone know of a way to achieve bracket completion?
On Mon, 02 Apr 2007, shawn bright wrote:
> i am finding these usefull too, thanks
Check out Luc Hermitte's development of Stephen Riehm's
bracketing macros.
http://hermitte.free.fr/vim/settings.php#settings
--
Greg MathesonI have an elaborate mnemonic for
this looks like exactly what i am after.
i am kind of a newbie here, and cant quite get it to work right.
i believe that i need a python.vim file in /ftplugin directory.
but i dont know how to word it to make this plugin work,
could anyone kinda help me here, i can't make out what i should do
from
whoa !, nevermind, found an example file on his website, tried it and works,.
sorry, my own rftm mistake
sk
On 4/2/07, shawn bright <[EMAIL PROTECTED]> wrote:
this looks like exactly what i am after.
i am kind of a newbie here, and cant quite get it to work right.
i believe that i need a python
It is hard to expand on Tony's feedback, ever. Still,
I found the following works a bit better. Not only
that it creates a right brace but it also places a
cursor on the right spot (taking into consideration
indentation if you set it).
:inoremap { {}
:inoremap [ []
:inoremap ( ()
Regards,
Zarko
Can you provide and example of how to do this?
Thanks,
Bill
> >
> >:inoremap { {}
> >:inoremap [ []
> >:inoremap ( ()
> >
>
> I'll just add a statment enabling this for certain languages. This has
> also giving me a couple new ideas to play with. Thanks again. :)
>
> --Greg
Zarko Coklin wrote:
It is hard to expand on Tony's feedback, ever. Still,
I found the following works a bit better. Not only
that it creates a right brace but it also places a
cursor on the right spot (taking into consideration
indentation if you set it).
:inoremap { {}
:inoremap [ []
:inoremap
Hello,
* On Mon, Apr 02, 2007 at 10:38:14AM -0500, shawn bright <[EMAIL PROTECTED]>
wrote:
> >> Check out Luc Hermitte's development of Stephen Riehm's
> >> bracketing macros.
> >>
> >> http://hermitte.free.fr/vim/settings.php#settings
> On 4/2/07, shawn bright <[EMAIL PROTECTED]> wrote:
> >this
One thing that would also be great, was if you were able to "tab" your
way out of it, ie move to the outside of the bracket, once you're
done. Now you need to either press right, to move ahead (which is not
quite vim-ish), or hit escape and Shift_A, to resume editing.
Only possible way I can thin
* On Tue, Apr 03, 2007 at 02:14:59AM +0300, Panos Laganakos <[EMAIL PROTECTED]>
wrote:
> One thing that would also be great, was if you were able to "tab" your
> way out of it, ie move to the outside of the bracket, once you're
> done. Now you need to either press right, to move ahead (which is no
Thanks Luc,
i got the main functionality working, pretty much. I only really
desire the bracket matching, and so far, i am really pleased. They all
work except the [] . So i think maybe there is a conflict with another
plugin ( i have the snippets-Emu, supertabs, and taglist plugins also.
) The ov
shawn bright <[EMAIL PROTECTED]> wrote:
> i got the main functionality working, pretty much. I only really
> desire the bracket matching, and so far, i am really pleased. They all
> work except the [] . So i think maybe there is a conflict with another
> plugin ( i have the snippets-Emu, supertabs
On 3/31/07, Greg Fitzgerald <[EMAIL PROTECTED]> wrote:
Anyone know of a way to achieve bracket completion?
I've been sitting on a plugin that does this for a month or so. The
main difference between my plugin and the rest of the options here is
that I do the completion without breaking history
Just tried the plugin and it works great, the only issue i'm having is
typing '{'
results in this
'{|}' not
{
|
}
where | is the cursor position. Is there any option to change this or
am i doing something wrong? Thanks
--Brendon
On 4/3/07, Karl Guertin <[EMAIL PROTECTED]> wrote:
On 3/31/07, Gr
On 4/3/07, Silent1 <[EMAIL PROTECTED]> wrote:
where | is the cursor position. Is there any option to change this or
am i doing something wrong?
Sorry, no. I'll probably add support for {{ doing that, which was the
plan, but I never got around to it. Maybe this afternoon.
Panos Laganakos wrote:
One thing that would also be great, was if you were able to "tab" your
way out of it, ie move to the outside of the bracket, once you're
done. Now you need to either press right, to move ahead (which is not
quite vim-ish), or hit escape and Shift_A, to resume editing.
Onl
> -Original Message-
> From: Karl Guertin [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 03, 2007 6:42 AM
> To: vim@vim.org
> Subject: Re: bracket completion
>
> On 3/31/07, Greg Fitzgerald <[EMAIL PROTECTED]> wrote:
> > Anyone know of a way to achi
---Original Message-
> From: Karl Guertin [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 03, 2007 6:42 AM
> To: vim@vim.org
> Subject: Re: bracket completion
>
> On 3/31/07, Greg Fitzgerald <[EMAIL PROTECTED]> wrote:
> > Anyone know of a way to achieve bracket comple
I just downloaded and it works great. I have one wish though. I have
syntax folding for C++ and usually have a lot of open/closed folds. But
when I write a {, all folds open. Is it possible to have the {} pair
inserted without disturbing the folds?
/ Jonas
Karl Guertin skrev:
On 3/31
On 4/3/07, Panos Laganakos <[EMAIL PROTECTED]> wrote:
Although, I'd prefer if I could use tab to move outside, instead of
the corresponding closing bracket char.
This should be fairly simple to add. I won't map it, but I'll set up a
for you.
On 4/3/07, Jonas Persson <[EMAIL PROTECTED]> wrote:
On Tue, Apr 03, 2007 at 04:51:46PM -0400, Karl Guertin wrote:
> On 4/3/07, Panos Laganakos <[EMAIL PROTECTED]> wrote:
> >Although, I'd prefer if I could use tab to move outside, instead of
> >the corresponding closing bracket char.
>
> This should be fairly simple to add. I won't map it, but I'll
Greg Fitzgerald wrote:
On Tue, Apr 03, 2007 at 04:51:46PM -0400, Karl Guertin wrote:
On 4/3/07, Panos Laganakos <[EMAIL PROTECTED]> wrote:
Although, I'd prefer if I could use tab to move outside, instead of
the corresponding closing bracket char.
This should be fairly simple to add. I won't m
On Wed, Apr 04, 2007 at 07:14:11PM +0200, A.J.Mechelynck wrote:
> Greg Fitzgerald wrote:
> >On Tue, Apr 03, 2007 at 04:51:46PM -0400, Karl Guertin wrote:
> >
> >>On 4/3/07, Panos Laganakos <[EMAIL PROTECTED]> wrote:
> >>>Although, I'd prefer if I could use tab to move outside, instead of
> >>>the
Greg Fitzgerald wrote:
[...] I did some more termcap
tests as well as on other systems, this time FreeBSD. Still the same
issue. So i'm starting to wondering if it's really termcap if 3 linux
boxes, openbsd, and freebsd are having the same problem. Although if i
am in console with term set to lin
2, 2007 1:42 PM
To: Greg Fitzgerald; A.J.Mechelynck
Cc: vim@vim.org
Subject: RE: bracket completion
Can you provide and example of how to do this?
Thanks,
Bill
> >
> >:inoremap { {}
> >:inoremap [ []
> >:inoremap ( ()
> >
>
> I'll just a
On 4/4/07, Waters, Bill <[EMAIL PROTECTED]> wrote:
Can someone provide an example of how to enable this for a certain
language? I assume that it is a condition around the "remap" in your
vimrc??
The easiest way to do language-specific customizations is to create
.vim in your ~/.vim/after/ftplu
2007/4/3, Charles E Campbell Jr <[EMAIL PROTECTED]>:
Here's one: http://vim.sourceforge.net/scripts/script.php?script_id=1269
It is very useful, thank you.
32 matches
Mail list logo