However none of you answered,
> anywhere in the available documentation?
> Not just mentioned in passing by an example!
> Where are the rules for this detailed?
Actually the documentation does describe, in detail, the rules for handling
errors, exceptions, and interrupts -- if the author
Hi, All
I want to add ";" to the end of line when coding. So, I add the following
map in vimrc. however, it's not working for me (if I change to , it's
OK). Anybody know why? is mapped to a special command already?
:inoremap A;
--
You received this message from the "vim_use" maillist.
Do not
On 01/04/11 07:35, Alessandro Antonello wrote:
Hi, all.
I have a problem building a regular expression for fields in a SQL UPDATE
statement. The SET clause has the format as follows:
field1 = 'value of field1', field2 = 'field\' 2 value'
I have built a regular expression that can split the nam
Hi, all.
I have a problem building a regular expression for fields in a SQL UPDATE
statement. The SET clause has the format as follows:
field1 = 'value of field1', field2 = 'field\' 2 value'
I have built a regular expression that can split the name of fields from its
values. But when a value has
On 03/31/2011 05:01 PM, carlosvillu wrote:
I came from Textmate and i try to created a map that i was so
useful for me. When i edit a file in insert mode, i want can
press Left /Rigth for select caracter by
caracter and LeftRight to select word
by word. Really I tried, but I don´t make work fine.
Hi,
I came from Textmate and i try to created a map that i was so
useful for me. When i edit a file in insert mode, i want can press
Left / Rigth for select caracter by caracter and
Left Right to select word by word. Really I
tried, but I don´t make work fine.
I hope that somebody can help
On 2011-03-31, Kim Schulz wrote:
> Hi,
> I use tag jumping with ctags a lot but one thing annoys me.
> In C code when I have a switch case like:
> switch (foo)
> {
> case BAR:
> {
>
> }
> }
> I cannot ctrl-leftmouse click the BAR word in order to jump to it. It
On 03/31/2011 12:10 PM, Coiby wrote:
I want to increase the number in this format "/ddd" by one but also keep
"/".
But the following command doesn't work:
$s/\/\([1-9]\+\)/\/\=submatch(1)-1)/g
Can anyone give a tip?
In addition to what ZyX's comments (particularly about the "\="
needing to be
Reply to message «about submatch in VIM»,
sent 21:10:08 01 April 2011, Friday
by Coiby:
`\=' must be the at the beginning of the replacement string, so you should use
`\="\/".(submatch(1)+1)' (`-1' is `decrease', not `increase'). By the way, you
could have used `\@<=':
$s!/\@<=[1-9]\+!\=sub
Hi, everyone!
I want to increase the number in this format "/ddd" by one but also keep
"/".
But the following command doesn't work:
$s/\/\([1-9]\+\)/\/\=submatch(1)-1)/g
Can anyone give a tip?
Thanks!
--
View this message in context:
http://vim.1045645.n5.nabble.com/about-submatch-in-VIM-tp
Hi,
I use tag jumping with ctags a lot but one thing annoys me.
In C code when I have a switch case like:
switch (foo)
{
case BAR:
{
}
}
I cannot ctrl-leftmouse click the BAR word in order to jump to it. It
thinks that : (colon) is part of the tag name and he
Hi,
I thought I could settle this using only ".gtkrc" but it doesn't seem
to offer such a functionality.
I use Vim to develop in Python and when I open a file, the GTK dialog
box shows both .py and .pyc files. And since I sort files by reversed
last modification date, the .pyc files come first.
I'm not sure I still get your exact requirements. The latest version of
CCTree can load a kernel cscope
database of 280 Mb in about 10 mins, and now you have the option of saving a
native cross-ref db
and loading it later; these only take about a couple of mins and you can
reuse them (and also, I m
Andy Wokula wrote:
Am 31.03.2011 08:38, schrieb Rostyslaw Lewyckyj:
IF vim recognizes an error in a script, what does it do?
Where are the rules for this detailed?
Suppose that while editing file.foo, I initiate a script
e.g. :so myscript.vim
and there is an error
e.g. the script looks for a no
Hi Christian and Ben,
I've spent some time these last two days to understand your suggestions
regarding my query and I must say that I had a tough time with them. But
I tried and learnt a lot. So I'm not going to continue on this thread,
as I'm using the keymap mapping solution which fits pretty
Am 31.03.2011 08:38, schrieb Rostyslaw Lewyckyj:
IF vim recognizes an error in a script, what does it do?
Where are the rules for this detailed?
Suppose that while editing file.foo, I initiate a script
e.g. :so myscript.vim
and there is an error
e.g. the script looks for a non existing pattern i
On Thu, March 31, 2011 9:52 am, Ben Schmidt wrote:
> Note that mappings abort on error, though. I think other commands like @
> might,
> too. Since both these can actually run scripts, one way or another, it
> somewhat
> depends in what context your script is running how errors are handled. To
> be
On 31/03/11 6:25 PM, Christian Brabandt wrote:
On Thu, March 31, 2011 8:38 am, Rostyslaw Lewyckyj wrote:
IF vim recognizes an error in a script, what does it do?
Where are the rules for this detailed?
Suppose that while editing file.foo, I initiate a script
e.g. :so myscript.vim
and there is a
On Thu, March 31, 2011 8:38 am, Rostyslaw Lewyckyj wrote:
> IF vim recognizes an error in a script, what does it do?
> Where are the rules for this detailed?
>
> Suppose that while editing file.foo, I initiate a script
> e.g. :so myscript.vim
> and there is an error
> e.g. the script looks for a
19 matches
Mail list logo