How to integrate with SourceSafe ?

2010-09-29 Thread Timothy Madden
Hello My company uses SourceSafe for source code control for our project and I have some problems integrating it with vim. I found the Source Control script (http://www.vim.org/scripts/script.php?script_id=770), but only some basic commands from it work. In particular, I have been unable to:

Re: How to see make output while make is in progress ?

2010-09-29 Thread Timothy Madden
On 05.09.2010 15:25, Timothy Madden wrote: Hello My gvim 7.2 on Windows 7 first runs the entire make and only after can I see make out. Can I get it to show lines output by make while make is in progress ? For example vim 7.0.237 has this behavior by default on Linux on a CentOS machine, so I

Re: How to open filelist with pipe?

2010-09-29 Thread Benjamin R. Haskell
I was requested to forward this to the list. Comments after. On Tue, 28 Sep 2010, Ole Tange wrote: find ./ -name *.html | xargs grep -l rapp_document ./file1 ./file2 ./file3 How to open the filelist ? like  "vim file1 file2 file3" If you have GNU Parallel http://www.gnu.org/software/parall

Re: How to see make output while make is in progress ?

2010-09-29 Thread Stahlman Family
Timothy Madden wrote: On 05.09.2010 15:25, Timothy Madden wrote: Hello My gvim 7.2 on Windows 7 first runs the entire make and only after can I see make out. Can I get it to show lines output by make while make is in progress ? For example vim 7.0.237 has this behavior by default on Linux o

Re: Close Tab with middle mouse click ---- Zoom in - out

2010-09-29 Thread Ben Fritz
On Sep 28, 5:16 am, rameo wrote: > 1) I would like to close tabs clicking with the middle mouse on it, is > that possible in vim? You could make a mapping of the middle mouse button: :nnoremap :tabclose But I'm not sure whether it is possible to detect whether the mouse event happened on the

Re: Close Tab with middle mouse click ---- Zoom in - out

2010-09-29 Thread David Fishburn
On 9/28/2010 6:16 AM, rameo wrote: 2) In Firefox, Chrome and other applications I use the Ctrl-scroll-up to zoom in text and Ctrl-scroll-down to zoom out text. Is that possible in vim (gvim) also? I use the "Mapping Solution" section under: http://vim.wikia.com/wiki/VimTip760 I use CTRL-Up a

Re: how to set omnifunc complete window height (with img)

2010-09-29 Thread Benjamin R. Haskell
On Wed, 29 Sep 2010, Zac Lee wrote: On Wed, Sep 29, 2010 at 12:51 AM, Benjamin R. Haskell wrote: On Tue, 28 Sep 2010, Zac Lee wrote: how to set the scratch window height ? it is 3 now, I want to set 1. the script is phpcomplete: http://www.vim.org/scripts/script.php?script_id=3171 Add: s

Arbitrary ends of lines?

2010-09-29 Thread Benjamin R. Haskell
I'm dealing with some file formats that have data segments terminated by an arbitrary segment terminator (in this case '#'). Is there built-in functionality for dealing with situations like this? It'd be nice to be able to treat this like a 'ff'. ff=unix = ff=dos = ff=mac = ff={anything-els

Re: Arbitrary ends of lines?

2010-09-29 Thread Tim Chase
On 09/29/10 13:07, Benjamin R. Haskell wrote: I'm dealing with some file formats that have data segments terminated by an arbitrary segment terminator (in this case '#'). Is there built-in functionality for dealing with situations like this? It'd be nice to be able to treat this like a 'ff'. ff

Re: Arbitrary ends of lines?

2010-09-29 Thread Benjamin R. Haskell
On Wed, 29 Sep 2010, Tim Chase wrote: On 09/29/10 13:07, Benjamin R. Haskell wrote: I'm dealing with some file formats that have data segments terminated by an arbitrary segment terminator (in this case '#'). Is there built-in functionality for dealing with situations like this? It'd be nic

Question? passing visual selection to function

2010-09-29 Thread Bee
Question? passing visual selection to function The function BlkInc() puts line numbers at the start of line. EXAMPLE 1 works EXAMPLE 2 does not work Can you explain why? ""-=---=---=---=---=---=---=---= " EXAMPLE 1 function! BlkNum() '<,'>s/^/\=BlkInc()/ endfun

Re: Question? passing visual selection to function

2010-09-29 Thread Christian Brabandt
Hi Bee! On Mi, 29 Sep 2010, Bee wrote: > Question? passing visual selection to function > > The function BlkInc() puts line numbers at the start of line. > > EXAMPLE 1 works > EXAMPLE 2 does not work Please explain what you expect and what you observe. > Can you explain why? > > ""-=

Split windows and spanning width of screen

2010-09-29 Thread Thomas Adam
Hi all, I'm wondering if it's possible to get a new window created with ":sp" to span the entire screen width -- specifically quickfix window. To give some background, if I do this in vim: :vsplit :new foo :new bar Ctrl-w l :e baz.c So that, vim looks like this: ++ | |

Re: Split windows and spanning width of screen

2010-09-29 Thread Michael Henry
On 09/29/2010 05:55 PM, Thomas Adam wrote: > Hi all, > > I'm wondering if it's possible to get a new window created with ":sp" to > span the entire screen width -- specifically quickfix window. > I always open the quickfix window like this: :botright copen :help :botright Michael Henry --

Re: Split windows and spanning width of screen

2010-09-29 Thread Thomas Adam
On 29 September 2010 23:07, Michael Henry wrote: > On 09/29/2010 05:55 PM, Thomas Adam wrote: >> Hi all, >> >> I'm wondering if it's possible to get a new window created with ":sp" to >> span the entire screen width -- specifically quickfix window. >> > > I always open the quickfix window like thi

Re: Split windows and spanning width of screen

2010-09-29 Thread Tim Chase
On 09/29/10 16:55, Thomas Adam wrote: ++ | || | foo | baz.c | |-- |--- | | bar |quickfix| ++ But because, most likely, "foo" and "bar" here also relate to baz.c in some way, how would I get the quickfix window to open up across those, to

Window splitting corner case

2010-09-29 Thread Benjamin R. Haskell
Thanks to Michael Henry for pointing out :botright, thus introducing me to the family of window-placement-overriding commands. In the following scenario, is there an easy way to open a new window (E) that occupies half of windows (A) and (B), preferably from within (B)? (Rulers just indicatin

Re: Split windows and spanning width of screen

2010-09-29 Thread Thomas Adam
Hi -- Ah, TIm. I thought you might chime in. :) On 29 September 2010 23:34, Tim Chase wrote: > In addition to Michael's answer to your question below, if you've already > got the QF window open and focused, you can use ^WJ (control-W, capital-j) > to move it to the bottom. > >  :help CTRL-W_J

Re: Question? passing visual selection to function

2010-09-29 Thread Bee
On Sep 29, 1:32 pm, Christian Brabandt wrote: > Hi Bee! > > On Mi, 29 Sep 2010, Bee wrote: > > > Question? passing visual selection to function > > > The function BlkInc() puts line numbers at the start of line. > > > EXAMPLE 1 works > > EXAMPLE 2 does not work > > Please explain what you expect a

Re: Split windows and spanning width of screen

2010-09-29 Thread Michael Henry
On 09/29/2010 06:44 PM, Thomas Adam wrote: > Also: > > * Is there a way to always map the command ":copen" to provide: > > :botright copen I don't open the quickfix window manually often enough that I've made such a mapping. But I believe this wiki page points out some techniques for doing what y

Re: How to see make output while make is in progress ?

2010-09-29 Thread Timothy Madden
On 29.09.2010 16:13, Stahlman Family wrote: Timothy Madden wrote: On 05.09.2010 15:25, Timothy Madden wrote: Hello My gvim 7.2 on Windows 7 first runs the entire make and only after can I see make out. Can I get it to show lines output by make while make is in progress ? For example vim 7.

about highlight just some part of file

2010-09-29 Thread Sampan Xu
Hello, I have a requirement about self-defined syntax strategy. For the TEXT file, I have always highlighted the essential info that can be matched by the pattern Defined within syntax file. That is to say, all the mathed info throughout the file Shall be highlight. But that is now

Calling xmltidy for vim/macvim

2010-09-29 Thread Russell Urquhart
Hi, Does anyone have any info on how to use xmltidy with macvim and/or vim? I'm sure this is doable i just need some info! Thanks, Russ -- 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: Question? passing visual selection to function

2010-09-29 Thread Christian Brabandt
On Thu, September 30, 2010 1:07 am, Bee wrote: > Is EXAMPLE 1 the only way to pass the selection to :s? > Making it necessary to preceed the :call with ? No functions can act on ranges as well. See the help at :h function-range-example and :h a:firstline regards, Christian -- You received this