Hi,
You probably already know, but when I patched my source and
compiled it, I got these warnings:
gui.c: In function ‘gui_init_which_components’:
gui.c:3229: warning: implicit declaration of function
‘gui_mch_showing_tabline’
gui.c: In function ‘gui_update_tabline’:
gui.c:3403: warning:
Nicolas Weber wrote:
Hi,
You probably already know, but when I patched my source and compiled
it, I got these warnings:
gui.c: In function ‘gui_init_which_components’:
gui.c:3229: warning: implicit declaration of function
‘gui_mch_showing_tabline’
gui.c: In function ‘gui_update_tabline’:
Hi,
this fixes the warnings. Apply with -p0 (NOT -p1).
Bye,
Nico
macguitab.v3.patch.1
Description: Binary data
Ilya wrote:
gvim –u NONE –U NONE
Create file with 100 empty lines, line with {, 20 empty lines and line
with }:
:exe normal i{\CR}\Esc20O\Escj%100O\Escj%
Turn on matchparen plugin:
:set nocp
:source $VIMRUNTIME/plugin/matchparen.vim
Now cursor should be on the }, this line is
in normal mode, ';' and ',' are not working to repeat the last till
commands (i.e. 't' and 'T'), though they do seem to work for find
commands (i.e. 'f' and 'F'). i see this for both the win32 vim7
binaries and FC5 builds from vim7 svn source.
-x
Should prepending :silent to a command be suppressing an autocommand?
Neither the docs for autocommands nor the docs for :silent indicate
this is the intended behavior.
For example:
using the following the autocommand is executed as expected with the
desired output
vim -u NONE -c set
Eric Van Dewoestine wrote:
Should prepending :silent to a command be suppressing an autocommand?
Neither the docs for autocommands nor the docs for :silent indicate
this is the intended behavior.
For example:
using the following the autocommand is executed as expected with the
desired output
Eric Van Dewoestine wrote:
Any thoughts on this?
Bram?
For the most part I've gotten use to the behavior, but I still
occassionaly find my self hitting enter when I see the first entry
highlighted, and receive an ambiguous use error because the
highlighted entry isn't actually in the command
The default setting, wildmode=full , highlights (if anything) what it
actually completes. If you repeatedly hit the right-arrow key, it will
cycle through all full matches and what you had typed. See :help
'wildmode' for the various other possibilities. Whatever you see
highlighted on the
Maciej Kalisiak wrote:
I'm under Windows XP, and I'm having a devil of a time trying to set
'path' to a bunch of directories in my home directory. My $HOME (and
thus presumably ~) point at c:\Documents and Settings\User\My
Documents\Home. Doing something like
set path=$HOME/src
does not work
To check if the cursor is within a comment or string context:
synIDattr(synID(line(.), col(.), 1), name) =~? 'comment\|string'
Syntax has to be enabled.
Thanks, Gerald,
this is exactly what I needed. Thanks also to the others, for useful hints.
-- Peter
--- A.J.Mechelynck [EMAIL PROTECTED] wrote:
Thomas Mellman wrote:
When moving from buffer to buffer using
the :bp and :bn commands, vim normally positions the file and cursor
such that the last line visited is presented in the middle of the
screen and the cursor is on that line.
* Michael Naumann [EMAIL PROTECTED]:
I'm curious though - is there any way to substitute CR with LF using
regexp's?
Yes there is, strange as it may seem:
s/\r/\r/
does it
Can somebody enlighten me why this works? Does vim replace wrong \r
with corrent \r?
Kai
--
*
See Vim tip #1266:
http://www.vim.org/tips/tip.php?tip_id=1266
Note that Vim isn't replaced 'wrong' \r with 'correct' \r. It is
replacing it with a linebreak, which is then interpreted as a \n for
unix and a \r\n for dos by the s/// command. It is just one of
many odd cases.
On 6/27/06,
Thanks for a meaty reply Tony, plenty for me to read up on.
Just one minor related issue: what is the convention of handling ~
in Vim under Windows? The problem is that under WinXP, when I use
$HOME in Vim, it gets translated to ~ (i.e., the Unix convention for
home directory), rather than the
I am trying to find a way to copy text that I've highlighted with the
mouse to a temporary file with a .do extension, so that I might use it
in the script below, and then delete it. I am not sure how to proceed
from here. Any advice would be greatly appreciated.
fun! RunLines()
!start
Gary Johnson wrote:
On 2006-06-27, Jason Aeschilman [EMAIL PROTECTED] wrote:
I wanted to save the current setting for an option so I could change
that option temporarily then set it back to what it was. Specifically,
I'm using the Cfname.vim plugin and it hard sets the statusline option
Dimitriy V. Masterov wrote:
I am trying to find a way to copy text that I've highlighted with the
mouse to a temporary file with a .do extension, so that I might use it
in the script below, and then delete it. I am not sure how to proceed
from here. Any advice would be greatly appreciated.
fun!
Dimitriy V. Masterov wrote:
Thank you very much for your suggestion. I'm still having trouble
yanking the highlighted text instead of the line the cursor was on.
I was able to do something like this in jEdit using
textArea.getSelectedText(). Is there something analogous for Vim?
My jEdit code
I believe that this may be a bug. I hope that this is the proper way of
opening a new one.
I've poured over the documentation and asked the mailing list gods for
help, and this basic feature still does not work. Here's the use case:
I have tried this on both Windows and Linux. I'm certain
Hi --
[Please excuse me if you've already seen this; I posted this to
comp.editors before I found this list.]
After reading the docs many times and searching comp.editorsfor help, I
admit I'm stumped -- I simply don't know how to set errorformat properly
to recognize my messages. Here's what
On Tue, Jun 27, 2006 at 03:56:22PM -0400, Dimitriy V. Masterov wrote:
Thank you very much for your suggestion. I'm still having trouble
yanking the highlighted text instead of the line the cursor was on.
I was able to do something like this in jEdit using
textArea.getSelectedText(). Is there
Howard Jess wrote:
Hi --
[Please excuse me if you've already seen this; I posted this to
comp.editors before I found this list.]
After reading the docs many times and searching comp.editorsfor help, I
admit I'm stumped -- I simply don't know how to set errorformat properly
to recognize my
Bram Moolenaar wrote:
Tom Purl wrote:
I believe that this may be a bug. I hope that this is the proper way of
opening a new one.
I've poured over the documentation and asked the mailing list gods for
help, and this basic feature still does not work. Here's the use case:
I have tried this
Environment variables are not expanded for the 'backupskip' option. You
must replace $HOME with its expanded value, or use:
:let backupskip = expand($HOME) . /gtd/wiki/*
... and in addition, since spaces in directory names in 'backupskip'
must be escaped, use
:let backupskip =
On Mon, Jun 26, 2006 at 10:56:48PM -0600, Trent Michael Gamblin wrote:
Benji Fisher wrote:
I think this is important, but I do not understand it completely.
When I try
$ man cvs | col -b | less
or simply
$ man cvs | less
I get a similar error message, Error executing
On Tue, 27 Jun 2006 at 4:51pm, Benji Fisher wrote:
On Tue, Jun 27, 2006 at 03:56:22PM -0400, Dimitriy V. Masterov wrote:
Thank you very much for your suggestion. I'm still having trouble
yanking the highlighted text instead of the line the cursor was on.
I was able to do something like
Howard Jess wrote:
A.J.Mechelynck wrote:
Howard Jess wrote:
Sample output is:
Warning [flip.jss:7:10]: type mismatch:
conflict between boolean [flip.jss:4:19]
and string [flip.jss:7:10]
[ and more like that ]
which I think means:
set errorformat=%[^[][%f:%l:%v]%m
Many thanks for all your attention. This was awesomely educational. I
had to delay the deletion of the file so that Stata would have it to
work on. In the end, I wound up with the following script:
fun! RunDoLines()
let selectedLines = getbufline('%', line('), line('))
if col(')
Hello all! I'll be away from my computer from 29 June to 13 July
inclusive. This time it's intentional (I'll be in the French Pyrenees
above Amélie-les-Bains, nearer to the Spanish border than to the nearest
neighbour); I'm telling you so you won't be thinking I suddenly fell
dead, ha ha. On
Yesterday, a bizarre thing happened that I have not
been able to replicate, and I'm hoping someone can
tell me a) exactly what I might have done, and b) how
to avoid it in the future.
I had a mostly empty function definition:
void
foo(void)
{
return;
}
I selected a bunch of code from a
Hi All,
I am using tags heavily.
0tags command seems to not work properly.
Let me explain the problem:
When I type tags, the following is printed by VIM.
# TO tag FROM line in file/text
1 1 mcu_mac7201 1 \Profiles\r66203\_tags\LF\harlech.hier
2 1 core_mac7201
32 matches
Mail list logo