Re: searchpos bug

2006-11-16 Thread Bram Moolenaar
Viktor Kojouharov wrote: It seems that searchpos doesn't match under the cursor, when the cursor itself is on the first column. You can try the simple search pos command below, and try searching for anything non-whitespace. Even with the 'c' flag, it will still move the cursor to the first

Re: mapping g

2006-11-16 Thread Bram Moolenaar
Manfred Georg wrote: Apparently this isn't a very popular thing to do, but I remap g to help me do indentation. There are two problems with this. In gvimrc_example.vim , there is some code (which has been copied all sorts of places) which does automatic jump to last position when file was

using vimball or netrw

2006-11-16 Thread J A G P R E E T
Hi There, I work on windows OS and want to access(read/write) to remote server(UNIX). From the vim site I came to know this is possible, but how to use it is outa my mind. I check the two plugins netrw and vimball; I'm not getting much understanding regarding these two plugins and not much

RE: --remote diff to tab

2006-11-16 Thread Hugo Ahlenius
| | I am trying to set up my subversion client(s) so that I | can get any | | diffs open in a proper diff mode, in an existing gvim | |session, in a new tab... | | | | Did you try (untested by me) | | | |--remote-tab +diffsplit %2 %1 | | | |(Will the %2 need any special escaping

autocmd and netrw

2006-11-16 Thread Ilya Hegai
Hello, I have such line in my .gvimrc autocmd BufEnter * :lcd %:p:h (this is vim tip: http://vim.sourceforge.net/tips/tip.php?tip_id=101) but when I work with remote files via netrw it produces warning every time, 'cause scp copies remote files to /tmp dir Is there any way to determine

Re:

2006-11-16 Thread Sean Lerner
Hi Tony, Thanks a lot. Works like a charm. Sean A.J.Mechelynck wrote: Sean Lerner wrote: Hello, Syntax highlighting with Vim 7 is working for some of my files, but for others it's not. They're all for lighttpd config files, but it only works for one of those files. Why is this?

Re: Commenting out TeX-text line by line in V-mode

2006-11-16 Thread Dmitriy Yamkovoy
Or you could skip step one, and only add percent signs on the lines with anything in them: (select lines visually) :','s/^\(.\)/% \1 -Dmitriy On 11/15/06, A.J.Mechelynck [EMAIL PROTECTED] wrote: Meino Christian Cramer wrote: Hi, a question more driven by curiosity than by the need to

Re: using vimball or netrw

2006-11-16 Thread Charles E Campbell Jr
J A G P R E E T wrote: Hi There, I work on windows OS and want to access(read/write) to remote server(UNIX). From the vim site I came to know this is possible, but how to use it is outa my mind. I check the two plugins netrw and vimball; I'm not getting much understanding regarding these

Re: autocmd and netrw

2006-11-16 Thread Charles E Campbell Jr
Ilya Hegai wrote: Hello, I have such line in my .gvimrc autocmd BufEnter * :lcd %:p:h (this is vim tip: http://vim.sourceforge.net/tips/tip.php?tip_id=101) but when I work with remote files via netrw it produces warning every time, 'cause scp copies remote files to /tmp dir Is there any way

Re: Trouble with syntax highlighting in gvim70

2006-11-16 Thread Dudley Fox
Tony, I actually did have it as a colorscheme originally, but I was still calling it from _vimrc. Which lead to the same problem. I checked on my older machine, still using gvim6x, and it has the highlight commands directly in the _vimrc file. Obviously something changed between 6 and 7, because

Re: Trouble with syntax highlighting in gvim70

2006-11-16 Thread Charles E Campbell Jr
Dudley Fox wrote: Tony, I actually did have it as a colorscheme originally, but I was still calling it from _vimrc. Which lead to the same problem. I checked on my older machine, still using gvim6x, and it has the highlight commands directly in the _vimrc file. Obviously something changed

Upcase every keyword while editing

2006-11-16 Thread Thomas Michael Engelke
Hello! I am looking for a way to mimic a functionality I've seen in the editor ED4Win (http://www.softasitgets.com/). What I want to do is to automagically upcase every written word that is considered a keyword. I program in Progress 4GL and use the syntax file from the gvim standard

Re: Commenting out TeX-text line by line in V-mode

2006-11-16 Thread Meino Christian Cramer
From: A.J.Mechelynck [EMAIL PROTECTED] Subject: Re: Commenting out TeX-text line by line in V-mode Date: Thu, 16 Nov 2006 05:20:13 +0100 Meino Christian Cramer wrote: Hi, a question more driven by curiosity than by the need to change anything. Suppose you have the following

using :ha under linux

2006-11-16 Thread Marlin Unruh
Hi, In Linux how do I configure Vim to print a hard copy? Please include syntax example. I am running Ubuntu and the printer is named Laserjet-4 on LPT #1. I located the info once and did this but now it eludes me. Thank You! -- Marlin :wa

Re: using :ha under linux

2006-11-16 Thread A.J.Mechelynck
Marlin Unruh wrote: Hi, In Linux how do I configure Vim to print a hard copy? Please include syntax example. I am running Ubuntu and the printer is named Laserjet-4 on LPT #1. I located the info once and did this but now it eludes me. Thank You! What Windows calls LPT1 is usually called

Re: search and replace multiple lines

2006-11-16 Thread Charles E Campbell Jr
mark wrote: I want too change the order of three lines globally (there are thousands of entries that need reordering) and don't seem to be able to get my head around how to do it with vi. I want to change the order off these three 1=red 2=blue 3=orange into 3=orange 2=blue 1=red Is

RE: Upcase every keyword while editing

2006-11-16 Thread David Fishburn
-Original Message- From: Thomas Michael Engelke [mailto:[EMAIL PROTECTED] Sent: Thursday, November 16, 2006 10:42 AM To: vim-Mailingliste Subject: Upcase every keyword while editing Hello! I am looking for a way to mimic a functionality I've seen in the editor ED4Win

Problem with Quickfix and Latex

2006-11-16 Thread Luis A. Florit
Pals, I have a recurrent problem with quickfix and Latex. I use the tex.vim compiler by Srinath Avadhanula. I tried both the 2003 version contained in the last LatexSuite plugin http://www.vim.org/scripts/script.php?script_id=475 and version '2006-03-20 09:45:45Z'. Same result. The

Re: XML file creation and validation based on schema]

2006-11-16 Thread Mikolaj Machowski
On czw lis 16 2006, vim@vim.org wrote: Hi, Is it possible to create and validate xml files, based on xml schema (xsd files) in vim. The features, like automatic closing tags, automatic insertion of mandatory tags, suggestion of tags, based on the schema etc will be very useful. Is there any