Re: How can I detect the OS?

2006-04-26 Thread James Vega
') ... win32 specific stuff ... endif Search for version of Vim from the feature-list help topic and that should bring you to the different versions for which you can check. James -- GPG Key: 1024D/61326D40 2003-09-02 James Vega [EMAIL PROTECTED] signature.asc Description: Digital signature

Re: Vim 7.0 tablist question

2006-05-05 Thread James Vega
page. Buffer's aren't tied to any specific window or tab page. James -- GPG Key: 1024D/61326D40 2003-09-02 James Vega [EMAIL PROTECTED] signature.asc Description: Digital signature

Re: weird issue with :put

2006-05-22 Thread James Vega
that was no longer in scope. James -- GPG Key: 1024D/61326D40 2003-09-02 James Vega [EMAIL PROTECTED] signature.asc Description: Digital signature

Re: viminfo feature not working after upgrade from vim6.2-vim7.0

2006-05-23 Thread James Vega
that behavior. James -- GPG Key: 1024D/61326D40 2003-09-02 James Vega [EMAIL PROTECTED] signature.asc Description: Digital signature

Re: Perl Support in Debian

2006-05-25 Thread James Vega
probably another variant of Vim installed which is being pointed to by the alternatives system. You can see what alternatives are providing the vim binary via: /usr/sbin/update-alternatives --display vim HTH, James -- GPG Key: 1024D/61326D40 2003-09-02 James Vega [EMAIL PROTECTED] signature.asc

Re: detecting a readonly file and not doing something...

2006-05-30 Thread James Vega
* :if ro | %s/[ \t\r]\+$//e | endif should do the trick. :help expr-option shows the different ways you can access options in expressions. James -- GPG Key: 1024D/61326D40 2003-09-02 James Vega [EMAIL PROTECTED] signature.asc Description: Digital signature

Re: detecting a readonly file and not doing something...

2006-05-30 Thread James Vega
On Tue, May 30, 2006 at 09:16:38AM -0400, James Vega wrote: On Tue, May 30, 2006 at 09:04:15AM -0400, Robert Hicks wrote: I currently have this: autocmd BufEnter * :%s/[ \t\r]\+$//e get rid of the pesky ^M However, it gives me an error I have to enter through when I open

Re: Functions developed in 6.4, to be used in 7

2006-06-02 Thread James Vega
significantly re. the function handling between 6 and 7? Not that I know of, but :he version7 should list any significant changes. James -- GPG Key: 1024D/61326D40 2003-09-02 James Vega [EMAIL PROTECTED] signature.asc Description: Digital signature

Re: display tweaks - tilde lines, statusline..

2006-06-05 Thread James Vega
/61326D40 2003-09-02 James Vega [EMAIL PROTECTED] signature.asc Description: Digital signature

Re: Restore cursor to last line not working in Vim 7

2006-06-07 Thread James Vega
in the system-wide vimrc but was removed or replaced by a new vimrc. James -- GPG Key: 1024D/61326D40 2003-09-02 James Vega [EMAIL PROTECTED] signature.asc Description: Digital signature

Re: Irritating column numbers with encoding=utf-8

2006-07-05 Thread James Vega
James Vega [EMAIL PROTECTED] signature.asc Description: Digital signature

Re: why does this mapping interpret the literal and not work?

2006-07-11 Thread James Vega
mapping. You want to perform a command-line mode command, but you haven't entered command-line mode. Adding a : should fix your problem. :) :nmap zz :w!CR HTH, James -- GPG Key: 1024D/61326D40 2003-09-02 James Vega [EMAIL PROTECTED] signature.asc Description: Digital signature

Re: Sudden problem with: exe set listchars=tab:\xbb\xb7,trail:\xb7

2006-07-13 Thread James Vega
characters. You'll probably want to check what 'encoding' is. James -- GPG Key: 1024D/61326D40 2003-09-02 James Vega [EMAIL PROTECTED] signature.asc Description: Digital signature

Re: CTRL-S under WXP and Linux

2006-07-17 Thread James Vega
. HTH, James -- GPG Key: 1024D/61326D40 2003-09-02 James Vega [EMAIL PROTECTED] signature.asc Description: Digital signature

Re: Running python scripts from Vim

2006-07-28 Thread James Vega
. But now it really starts to shape up :-) You might be interested in trying out PIDA (http://pida.berlios.de/). James -- GPG Key: 1024D/61326D40 2003-09-02 James Vega [EMAIL PROTECTED] signature.asc Description: Digital signature

Re: [vim 70d] switching tab pages

2006-04-13 Thread James Vega
2003-09-02 James Vega [EMAIL PROTECTED] signature.asc Description: Digital signature

Re: :for var in list

2006-04-25 Thread James Vega
/61326D40 2003-09-02 James Vega [EMAIL PROTECTED] signature.asc Description: Digital signature

Re: [BUG] Swap file searched for in the wrong place

2006-05-17 Thread James Vega
for the swap file in /tmp, instead of in /tmp/foo). This appears to be fixed in vim7. James -- GPG Key: 1024D/61326D40 2003-09-02 James Vega [EMAIL PROTECTED] signature.asc Description: Digital signature

Re: I just updated my Vim site

2006-06-06 Thread James Vega
On Tue, Jun 06, 2006 at 03:30:32PM +0200, A.J.Mechelynck wrote: James Vega wrote: On Mon, Jun 05, 2006 at 11:10:21PM -0700, Hari Krishna Dara wrote: Isn't there a cross-compiler for producing cygwin executables from Linux? There is a cross-compiler for producing Windows native

Re: I just updated my Vim site

2006-06-06 Thread James Vega
On Tue, Jun 06, 2006 at 05:58:56PM +0200, A.J.Mechelynck wrote: James Vega wrote: On Tue, Jun 06, 2006 at 03:30:32PM +0200, A.J.Mechelynck wrote: James Vega wrote: On Mon, Jun 05, 2006 at 11:10:21PM -0700, Hari Krishna Dara wrote: Isn't there a cross-compiler

Re: vim server ? security hole?

2006-07-26 Thread James Vega
instance to execute arbitrary commands as super user!! Performing a simple su saves the environment that you su'ed from. If you instead ran su -, I imagine this would not work. James -- GPG Key: 1024D/61326D40 2003-09-02 James Vega [EMAIL PROTECTED] signature.asc Description: Digital signature

Re: Patch 7.0.048

2006-08-08 Thread James Vega
. ') If the filename itself has single quotes, this will prematurely end the quoting. escape(nmt, ') should probably be used as well. James -- GPG Key: 1024D/61326D40 2003-09-02 James Vega [EMAIL PROTECTED] signature.asc Description: Digital signature

Re: Invoke _gvimrc.vim / unexpected expansions

2006-08-11 Thread James Vega
that mapping so it doesn't override a normal Vim command. James -- GPG Key: 1024D/61326D40 2003-09-02 James Vega [EMAIL PROTECTED] signature.asc Description: Digital signature

Re: [PATCH] cygwin: Trouble recognizing absolute path

2006-10-13 Thread James Vega
the 'swapfile already exists' message. Maybe this is related. The relevant code is sectioned off by '#ifdef HAVE_READLINK'/'#endif' sections in memline.c James -- GPG Key: 1024D/61326D40 2003-09-02 James Vega [EMAIL PROTECTED] signature.asc Description: Digital signature

Re: [PATCH] cygwin: Trouble recognizing absolute path

2006-10-13 Thread James Vega
On Fri, Oct 13, 2006 at 10:34:40PM +0200, Corinna Vinschen wrote: On Oct 13 16:06, James Vega wrote: On Fri, Oct 13, 2006 at 09:38:16PM +0200, Corinna Vinschen wrote: Interesting enough it works in 6.4 without doing anything similar to my patch does to os_unix.c. What's different in swap

ctrl-c oddity with visual block insert

2007-05-07 Thread James Vega
-02 James Vega [EMAIL PROTECTED] signature.asc Description: Digital signature