Re: Installing ttf fonts in gvim in windows

2011-04-21 Thread Alexander Stepanov
How to use non-monospace in gVim? Only monospace fonts are displayed in font list. On 19 апр, 13:17, Tony Mechelynck antoine.mechely...@gmail.com wrote: On 19/04/11 09:36, Alexander Stepanov wrote: Monospace fonts... That's very said. Thank you for explanation. If you mean very sad, this is

Re: problems with using gundo

2011-04-21 Thread Martin Lundberg
Add this to the top of your .vimrc file: filetype off call pathogen#runtime_append_all_bundles() Pathogen hack call pathogen#helptags() filetype plugin indent on Enable file-type indentation It's important that the pathogen stuff is before the filetype plugin indent on because

Re: Installing ttf fonts in gvim in windows

2011-04-21 Thread Christian Brabandt
On Thu, April 21, 2011 8:15 am, Alexander Stepanov wrote: How to use non-monospace in gVim? Only monospace fonts are displayed in font list. You can't on Windows. regards, Christian -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you

Re: standard ubuntu lucid vim package is not +multibyte

2011-04-21 Thread Christian Brabandt
On Thu, April 21, 2011 1:40 am, Adam Monsen wrote: +multibyte Just a small nit: this should be +multi_byte. True. And there is no standard lucid vim package of Vim 7.3. Looks like only natty has Vim 7.3. Yes, somehow the original poster must have gotten some non official packages for

Replacing a visual selection

2011-04-21 Thread Kai Weber
Hi, Currently my workflow replacing a visual selection is like this: 1. Go to Visual mode 2. Select text 3. y'ank 4. :%s/c-r*/foo/g One problem with this workflow I have to check if my selected text contains special characters I have to escape (e.g. /). Can this workflow be optimized further

RE: Replacing a visual selection

2011-04-21 Thread John Beckett
Kai Weber wrote: 1. Go to Visual mode 2. Select text 3. y'ank 4. :%s/c-r*/foo/g One problem with this workflow I have to check if my selected text contains special characters I have to escape (e.g. /). I use this tip: http://vim.wikia.com/wiki/Search_for_visually_selected_text That tip is

Re: Replacing a visual selection

2011-04-21 Thread Jean-Rene David
* Kai Weber [2011.04.21 07:10]: Hi, Currently my workflow replacing a visual selection is like this: 1. Go to Visual mode 2. Select text 3. y'ank 4. :%s/c-r*/foo/g How about: 1. go to visual mode 2. select text 3. press c -- JR -- You received this message from the vim_use

Re: standard ubuntu lucid vim package is not +multibyte - consistant displaying of multibyte

2011-04-21 Thread Eric Smith
Thanks all. Yes its weird, according to dpkg I have 7.2x and this is indeed the binary at /usr/bin/vim.basic which I ran for the first time a few seconds ago. Normally I run the binary /usr/local/bin/vim which is 7.3 I do not remember how I achieved this - sorry. Anyway it has been compiled

Re: Replacing a visual selection

2011-04-21 Thread Tim Chase
On 04/21/2011 07:37 AM, Jean-Rene David wrote: Currently my workflow replacing a visual selection is like this: 1. Go to Visual mode 2. Select text 3. y'ank 4. :%s/c-r*/foo/g How about: 1. go to visual mode 2. select text 3. press c This only does the match under the cursor

Re: Screenplay-Text Syntax File Misbehaving

2011-04-21 Thread Shlomi Fish
Hi Andy, On Wednesday 20 Apr 2011 11:26:06 Andy Wokula wrote: Am 19.04.2011 10:59, schrieb Shlomi Fish: Hi all, I prepared a partial syntax file for Screenplay-Text here: http://svn.berlios.de/svnroot/repos/web-cpan/XML-Grammar-Fiction/trunk/vi m It's attached to this message.

Re: Vimscript Question

2011-04-21 Thread niva
Ok I was looking in another approach...more objects. Maybe I can use elseif like Ben says for instant. Thank you -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit

Re: problems with using gundo

2011-04-21 Thread Charles Campbell
Taylor Hedberg wrote: Ben Fritz, Wed 2011-04-20 @ 17:26:49-0700: Not having used Pathogen, I don't know how to work installation using it. Pathogen creates a new directory bundle/ underneath your .vim/ directory. You then place the entire directory structure for a plugin in a

Re: problems with using gundo

2011-04-21 Thread Taylor Hedberg
Charles Campbell, Thu 2011-04-21 @ 16:56:30-0400: I agree that pathogen makes plugins easier to remove if the plugin is not in vimball format. With vimball format, its simply :RmVimball pluginname , so the two methods are about equally easy to use as regards plugin removal. Insofar as

Re: Installing ttf fonts in gvim in windows

2011-04-21 Thread Tony Mechelynck
On 21/04/11 08:15, Alexander Stepanov wrote: How to use non-monospace in gVim? Only monospace fonts are displayed in font list. On gvim with GTK2 GUI (only on X11), you can but it's ugly because the variable-width glyphs are displayed within constant-width screen cells. If you really want

quickfix 'errorformat' help

2011-04-21 Thread Jerry Dai
Hi, I use: set efm=%EError%.%#,%C%f\\,\ %l,%C%.%#,%Z%m to filter error messages like the following lines: *Error-[MFNF] Member not found /users/jianzhen/core_tb_20110419_/verif/drv.sv, 113 this.m_drive_req_event. Could not find member 'triggered' in class 'event', at

How can a vimscript variables' value be used as a ,or in, a line address?

2011-04-21 Thread Rostyslaw Lewyckyj
Suppose that I do a pattern search and the search function returns the location into a variable xxx. e.g. let xxx = search(pat,flags,line('y)) and *later* , not immediatly, in the script I'd like to do something like continue my script at xxx or print the line at xxx (i.e.

Re: How can a vimscript variables' value be used as a ,or in, a line address?

2011-04-21 Thread Tony Mechelynck
On 22/04/11 05:04, Rostyslaw Lewyckyj wrote: Suppose that I do a pattern search and the search function returns the location into a variable xxx. e.g. let xxx = search(pat,flags,line('y)) and *later* , not immediatly, in the script I'd like to do something like continue my script at xxx or print

Re: quickfix 'errorformat' help

2011-04-21 Thread Jerry Dai
Thanks Tony. Your suggestion helps! After reading the manual more carefully, I find the solution. -- -- Best Regards Jerry Dai On Thu, Apr 21, 2011 at 7:50 PM, Tony Mechelynck antoine.mechely...@gmail.com wrote: On 22/04/11 04:16, Jerry Dai wrote: Hi, I use: set

Re: editing vim help files

2011-04-21 Thread Adam Monsen
On 04/20/2011 06:02 PM, Tim Chase wrote: While I don't know what other folks use, and I don't do it myself, this one-liner can be made into a :command! or mapped to make it pretty easy/straight-forward: :%s/^\(.*\)\\s*\(\*[^*]*\*\)$/\=printf('%s%*s', submatch(1),

Vim: Warning: Input is not from a terminal

2011-04-21 Thread Adam Monsen
You've this mistake before, right? cat /tmp/foo.txt | vim when you meant to do cat /tmp/foo.txt | vim - Somewhere early in my Vim learning I figured out the latter, so I usually don't repeat the mistake. But why *is* that even a mistake? What is the purpose/origin/history of the first

Re: Vim: Warning: Input is not from a terminal

2011-04-21 Thread Adam Monsen
But why *is* that even a mistake? What is the purpose/origin/history of the first example, the vim sans-dash behavior? Whoops, I should have searched a bit more before posting. I found :help 26.4 so I understand that the sans-dash calling convention is most useful when using Vim in batch

Re: Vim: Warning: Input is not from a terminal

2011-04-21 Thread Tony Mechelynck
On 22/04/11 07:36, Adam Monsen wrote: You've this mistake before, right? cat /tmp/foo.txt | vim when you meant to do cat /tmp/foo.txt | vim - Somewhere early in my Vim learning I figured out the latter, so I usually don't repeat the mistake. But why *is* that even a mistake? What is