Re: Folding

2011-06-04 Thread Gary Johnson
On 2011-06-04, Eric Weir wrote: > On Jun 4, 2011, at 3:27 AM, Gary Johnson wrote: > > >> On 2011-06-03, Eric Weir wrote: > >> > >> I want to eliminate the > >> number of lines and keep the text from the first line of the fold. > >> And I have absolutely no idea how to go about revising the code t

Re: Trying to escape tab in exe

2011-06-04 Thread Tim Johnson
* Ben Schmidt [110604 19:05]: > > Try the feedkeys() function: > > :call feedkeys('e ' . a.dir . "/\") > > If you check out the help for feedkeys() you will see documentation > about a second argument which you might like to include and experiment > with to get the results you want reliably. >

Re: Trying to escape tab in exe

2011-06-04 Thread Ben Schmidt
exec 'e' a:dir . "/\t" or execute 'e ' . a.dir . "/\" :) Now we are getting somewhere. With your example above, I get the directory itself in a vim buffer window. Which is useful, but preferable, I want to see the wildmenu for the directory. As if I were to manually in

Re: Trying to escape tab in exe

2011-06-04 Thread Tim Johnson
* Tony Mechelynck [110604 18:04]: > > Within single quotes, every character is taken literally, even a > backslash, except that two single quotes mean one. Aha! > You should have used double quotes with backslash-escaping, like > this (referring to your original post): > > exec 'e' a:dir

Re: non-interactive vimdiff to stdout

2011-06-04 Thread Ben Fritz
On Jun 4, 3:40 pm, ZyX wrote: > Reply to message «Re: non-interactive vimdiff to stdout», > sent 18:14:22 04 June 2011, Saturday > by ZyX: > > Signs are also implemented now, including icons. > Cool, do you have an example of that? I'd be interested to see, but it probably won't go into TOhtml

Re: non-interactive vimdiff to stdout

2011-06-04 Thread Ben Fritz
On Jun 3, 9:14 am, ZyX wrote: > Reply to message «Re: non-interactive vimdiff to stdout», > sent 09:13:30 03 June 2011, Friday > by ZyX: > > If you are interested, hack is now implemented in frawor-port > branch:http://formatvim.hg.sourceforge.net/hgweb/formatvim/formatvim/file/fr > Lots o

Re: Trying to escape tab in exe

2011-06-04 Thread Tony Mechelynck
On 05/06/11 02:26, Tim Johnson wrote: * Tony Mechelynck [110604 16:09]: vim opens a new file /home/tim/prj/cgi/baker/xmlimport/controllers/ grrr! So how do I escape the Tab? I've tried IIRC, the relevant setting is 'wildcharm' (q.v.). Thank you for the reply Tony. I did the following:

Re: Trying to escape tab in exe

2011-06-04 Thread Tim Johnson
* sc [110604 16:24]: > > > using vim 7.2 Huge version with GTK2-GNOME GUI > > > IIRC, the relevant setting is 'wildcharm' (q.v.). > > another way to approach it would be to call glob() with an > asterisk in place of the > > sc Thanks sc, but could you illustrate with an example: `glob' is ne

Re: Trying to escape tab in exe

2011-06-04 Thread Tim Johnson
* Tony Mechelynck [110604 16:09]: > >vim opens a new file > >/home/tim/prj/cgi/baker/xmlimport/controllers/ > >grrr! > >So how do I escape the Tab? > >I've tried > > IIRC, the relevant setting is 'wildcharm' (q.v.). Thank you for the reply Tony. I did the following: set wildcharm= " in the s

Re: Trying to escape tab in exe

2011-06-04 Thread sc
On Saturday, June 04, 2011 19:00:39 Tony Mechelynck wrote: > On 05/06/11 00:30, Tim Johnson wrote: > > If I type in the following ex command: > > :e /home/tim/prj/cgi/baker/xmlimport/controllers/ > > > > and then press TAB, I get a wildmenu for the target > > directory. Yay! > > But I can't get t

Re: Trying to escape tab in exe

2011-06-04 Thread Tony Mechelynck
On 05/06/11 00:30, Tim Johnson wrote: If I type in the following ex command: :e /home/tim/prj/cgi/baker/xmlimport/controllers/ and then press TAB, I get a wildmenu for the target directory. Yay! But I can't get this same function to work programmatically. I have the following two functions: " ---

Trying to escape tab in exe

2011-06-04 Thread Tim Johnson
If I type in the following ex command: :e /home/tim/prj/cgi/baker/xmlimport/controllers/ and then press TAB, I get a wildmenu for the target directory. Yay! But I can't get this same function to work programmatically. I have the following two functions: " -

Re: non-interactive vimdiff to stdout

2011-06-04 Thread ZyX
Reply to message «Re: non-interactive vimdiff to stdout», sent 18:14:22 04 June 2011, Saturday by ZyX: Signs are also implemented now, including icons. Original message: > Reply to message «Re: non-interactive vimdiff to stdout», > sent 09:13:30 03 June 2011, Friday > by ZyX: > > If you are int

Re: Folding

2011-06-04 Thread Eric Weir
On Jun 4, 2011, at 3:27 AM, Gary Johnson wrote: >> On 2011-06-03, Eric Weir wrote: >> >> I want to eliminate the >> number of lines and keep the text from the first line of the fold. >> And I have absolutely no idea how to go about revising the code to >> make it do what I want. > > The example

Re: Folding

2011-06-04 Thread Gary Johnson
On 2011-06-03, Eric Weir wrote: > On Jun 2, 2011, at 10:36 AM, Gary Johnson wrote: > > > I don't like all that clutter in the fold line, either, but I do > > like to see the number of lines in the fold, so I modified the > > appearance of the fold line with this in my ~/.vimrc. > > > >set fol