Ingo Karkat wrote:
I found a bug in VIM 7.0's new tr() function. If the {src} string
contains exactly 80 characters, an additional junk character is
appended to the tr() result; this happens regardless of whether a
character translation has occurred or not.
How to reproduce:
vim -u NONE
Hmm, the subject should have been patch 7.0.175. Remove the about!
Hopefully no scripts got confused by this.
--
BLACK KNIGHT: Come on you pansy!
[hah] [parry thrust]
[ARTHUR chops the BLACK KNIGHT's right arm off]
ARTHUR:Victory is mine! [kneeling]
We thank
Patch 7.0.177
Problem:When the press-enter prompt gets a character from a non-remappable
mapping, it's put back in the typeahead buffer as remappable,
which may cause an endless loop.
Solution: Restore the non-remappable flag and the silent flag when putting a
Patch 7.0.178
Problem:When 'enc' is utf-8 and 'ignorecase' is set the result of :echo
(\xe4 == \xe4) varies.
Solution: In mb_strnicmp() avoid looking past NUL bytes.
Files: src/mbyte.c
*** ../vim-7.0.177/src/mbyte.c Wed Nov 1 18:10:36 2006
--- src/mbyte.c Tue Dec 5
I have run across a rather strange error in the syntax highlighting for
either vb.vim or html.vim. I'm unsure which is causing the problem.
Here are the circumstances under which this error occurs:
I am developing an HTA program. An HTA program (for those who do not
use Windows) is an HTML
* On Mon, Dec 04, 2006 at 12:09:34PM -0800, Gary Johnson [EMAIL PROTECTED]
wrote:
On 2006-12-04, [EMAIL PROTECTED] wrote:
I tried '-' and '_' in user-defined command name, both are not accepted
(like X_Y, X-Y). Is there maybe some [other] separator that is
allowed in user-defined
I am having some trouble with Netrw in Vim 7.
I had been using it to ftp to a web server and update files.
I recently began receiving the following error(s) when running :Nread
ftp://[EMAIL PROTECTED]/public_html/
ftp://[EMAIL PROTECTED]/public_html/ [not edited] --no lines in buffer--
If I
Hi
Just wanted to thank those involved in colouring syntax.
I've just had a case where I foolishly ignored the fact that colouring
was indicating an error! . I often have Javascript, html, mixed up with Php
or Coldfusion and yet the colouring works.
And to think when I moved from Vi to VIM I
[ post reordered to conform with mailing list no-top-posting conventions ]
Jeffrey Robertson wrote:
-Original Message-
From: A.J.Mechelynck [mailto:[EMAIL PROTECTED]
Sent: Friday, December 01, 2006 4:07 PM
To: Robertson, Jeffrey (CAR:QW32)
Cc: Sean Plank; vim@vim.org
Subject: Re: I
On 11/30/06, Joakim Olsson [EMAIL PROTECTED] wrote:
I solved the problem by setting shell to cmd.exe in my .vimrc.
The problem stems from the fact that I set the SHELL environment variable
to /usr/bin/bash to make rxvt work for Cygwin. Vim sees that and set shell
to the same value of course.
My OS is Mac OS X 10.4.8, so yes, it is Unix/Linux based.
After I sent my original e-mail, I did think to check where
$VIMRUNTIME was located. I removed all instances of anything vim*
related.
I then attempted the :Nread command and got what I expected... E492:
Not an editor command:
striker wrote:
My OS is Mac OS X 10.4.8, so yes, it is Unix/Linux based.
After I sent my original e-mail, I did think to check where
$VIMRUNTIME was located. I removed all instances of anything vim*
related.
I then attempted the :Nread command and got what I expected... E492:
Not an
Hi,
Can I open data.fs file in R/W with ZODB in two programs (two
process, no thread) at the same time ? If not, is there storage system
to do that ?
Thanks for your help,
Stephane
2006/12/5, KLEIN Stéphane [EMAIL PROTECTED]:
Hi,
Can I open data.fs file in R/W with ZODB in two programs (two
process, no thread) at the same time ? If not, is there storage system
to do that ?
I'm mistaken of mailing list, sorry for the disturbance.
Stephane
how can I align text under and after the cursor position to a
specific column number? and probably just as important, how can I
find out which column number a cursor is at ;)?
thanks!
-lev
On Mon, 4 Dec 2006, Bill McCarthy apparently wrote:
Instead of using an autocmd, you could place those maps in a
file called tex.vim in your local ftplugin directory. Place
this single line in such a file:
map buffer c-a :echo 'It worked!'CR
OK, I did this.
But there is still a
* Lev Lvovsky [2006.12.05 13:53]:
how can I align text under and after the cursor
position to a specific column number?
:.,$s/^\s*/ /g
will align the first non-blank on the fourth
column, from the cursor's line to the end of the
file.
and probably just as important, how can I
find
On 2006-12-05, Lev Lvovsky [EMAIL PROTECTED] wrote:
how can I align text under and after the cursor position to a
specific column number? and probably just as important, how can I
find out which column number a cursor is at ;)?
:set ruler
will show you the cursor's line and column
On Tue, 5 Dec 2006, Alan G Isaac wrote:
On Mon, 4 Dec 2006, Bill McCarthy apparently wrote:
Instead of using an autocmd, you could place those maps in a
file called tex.vim in your local ftplugin directory. Place
this single line in such a file:
map buffer c-a :echo 'It worked!'CR
I did
Jean-Rene David wrote:
* Lev Lvovsky [2006.12.05 13:53]:
how can I align text under and after the cursor
position to a specific column number?
:.,$s/^\s*/ /g
will align the first non-blank on the fourth
column, from the cursor's line to the end of the
file.
and probably just as
I tested it with '*svn*' and on cygwin grep which is:
grep (GNU grep) 2.5.1
and it worked.
Strangely enough if I put '*.svn*' it didn't work.
bob
Gary Johnson wrote:
Hi Bob,
That doesn't seem to work either. I executed the following:
cd ~/.vim
grep -Rli --exclude=\*syntax\*
Good question. I only had problems with vcscommand at the time at least.
/Joakim
On tis, 2006-12-05 at 10:08 -0600, Bob Hiestand wrote:
On 11/30/06, Joakim Olsson [EMAIL PROTECTED] wrote:
I solved the problem by setting shell to cmd.exe in my .vimrc.
The problem stems from the fact that
Hi
I know vim understands character sequences that delimit comments in
various programming languages and gqap formats them appropriately.
However, while typing a reply to an e-mail, the gqap command doesn't
seem to identify the end of a paragraph in the original message because
empty lines are
Vim may very well be able to do that with built-in commands. I use
the external paragraph reformatter 'par-1.52' for this:
http://www.nicemice.net/par/
For example, to format and justify this reply in vim, I used:
:','!par 66j
A patch for 'par' also exists to make it work with Unicode
On Wed, 6 Dec 2006, [EMAIL PROTECTED] wrote:
Vim may very well be able to do that with built-in commands. I use
the external paragraph reformatter 'par-1.52' for this:
For example, to format and justify this reply in vim, I used:
:','!par 66j
No, this doesn't answer my question.
My question
Towards the bottom of Luc Hermitte message, the following was said:
substitute(), match*(), exists(), ...
But also :exe, :normal!, I-CTRL_R, :s, ... which are not functions
indeed.
What does the I-CTRL_R command do?
TIA
Michael
--- Luc Hermitte [EMAIL PROTECTED] wrote:
Hello,
* On Sat,
Hi,
While we are at the subject of tips for budding Vim scripters -
I had created this mapping --
nmap com ^:if search('\/\*.*\*\/','c',line(.))!=0CR
:.s/\/\*\(.*\)\*\//\1/gCR :elseCR
:.s/\(\s*\)\(.*\)\(\s*\)/\1\/\*\2\*\/\3/gCR :endifCR :nohCR
this command basically toggles C-style commenting
27 matches
Mail list logo