Automatically positioning cursor when opening a file

2007-03-09 Thread James Kanze
the file, but causes the cursor position to be lost if I leave the window, then later come back to it. From the documentation, I'd expect BufReadPost to work, but it doesn't. Also, while I'm at it: is there any reason why 1G doesn't work, but :1 does, to start from a known point. -- James Kanze (GABI

Re: run make! from subdirs

2007-02-20 Thread James Kanze
command vim, and a project specific command projectvim (or whatever). Alternatively, you can define a shell script pmake (for project make) which does the cd, then executes the real make. Then set makeprg=pmake. -- James Kanze (GABI Software) email:[EMAIL PROTECTED] Conseils en

Re: Web-based editing [Was :wq vs ZZ]

2007-02-16 Thread James Kanze
On 2/16/07, Cameron Simpson [EMAIL PROTECTED] wrote: On 15Feb2007 15:30, James Kanze [EMAIL PROTECTED] wrote: | On 2/15/07, Bram Moolenaar [EMAIL PROTECTED] wrote: | I'm using It's All Text! now. Just had to create a shell script to | start gvim, because it doesn't allow you to give arguments

Re: Web-based editing [Was :wq vs ZZ]

2007-02-15 Thread James Kanze
up in the xterm. (But Firefox does hang until you exit vim.) -- James Kanze (GABI Software)mailto:[EMAIL PROTECTED] Conseils en informatique orientée objet/ Beratung in objektorientierter Datenverarbeitung 9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23

Strange behavior when auto-indenting C++ code

2007-01-26 Thread James Kanze
compiled it with the X11-Motif GUI, but the above behavior is observable even in non-GUI mode.) -- James Kanze (GABI Software) email:[EMAIL PROTECTED] Conseils en informatique orientée objet/ Beratung in objektorientierter Datenverarbeitung 9 place Sémard, 78210 St.-Cyr