Re: Cursor color when there is a warning

2010-03-04 Thread Germain
Thank you. Your first solution is not very pleasant ;) ! For the two following the cursorline become to much dark ... I do not really like that. Looking at your color scheme file, I took the syntax for the Error hilight and I simply change the fg color from white to blod red ! For the cursorline

Re: Vim with ssh

2010-03-04 Thread mikeyao
On Mar 4, 5:14 am, Dan Wierenga dwiere...@gmail.com wrote: On Tue, Mar 2, 2010 at 9:50 PM, mikeyao yaoweiz...@gmail.com wrote: I tried netrw and putty, but it didn;t work. I never got putty to work (putty's not really meant for that...), but I did with netrw and pscp.  I renamed pscp.exe

Is there a way to check whether a specific autocmd group is empty?

2010-03-04 Thread winterTTr
I just want to check whether a autocmd group is empty and i want to remove it when it is empty. But I don't find the method or a way to do this. Is there a way to check whether a specific autocmd group is empty? Any suggestion is OK. Thanks. -- You received this message from the vim_use

Re: netrw troubles

2010-03-04 Thread rameo
Hi Chip, Thank you for writing. Yes the set ch=2 command removed the message Press ENTER or type command to continue. (but I don't like the big command line) The trailing slash: The server is a a linux server. No not an old server. There is no way to resolve this problem? A command which

Re: Unexpected behaviour of File browser in multi-windows environment

2010-03-04 Thread Jean Johner
Hi Chip, I went to your site today (4 March) and downloaded (with IE6) netrw. It comes with the name netrw.vba.htm. I did the following: -change the name from netrw.vba.htm to netrw.vba -open netrw.vba with Windows gvim (default _vimrc) - type :so % then :q Up to now everything works Then

Re: Vim with ssh

2010-03-04 Thread mikeyao
I solved problem. If you want to use vim via ssh depend on putty under windows, it must combine pscp/psftp with plink. pscp/psftp used to connect, plink used to execute command on server, for example: list files and directory in 'ls'. This is my settings: '' list files, it's the key setting,

Re: Please, suggest a font!

2010-03-04 Thread Jostein Berntsen
On 03.03.10,11:00, Dotan Cohen wrote: I have been trying to move to GVIM from Kate, but as I prefer proportional fonts I find the GVIM look to be to hard on my eyes. I have been looking up and down for a decent font that does not look outdated in GVIM yet has good differention betweel 0/O,

Re: 2 vim_use mailing list questions

2010-03-04 Thread Jean Johner
Johner wrote 2/ How do you reply to vim_use and simultaneously to an author. Using Reply to author and cc to vim_use does not work. Using Reply and cc to vim_use@googlegroups.com (instead of vim_use) seems to be the good solution using Google interface. Regards, Jean Johner -- You received

Re: Unexpected behaviour of File browser in multi-windows environment

2010-03-04 Thread Charles Campbell
Jean Johner wrote: I went to your site today (4 March) and downloaded (with IE6) netrw. It comes with the name netrw.vba.htm. I did the following: -change the name from netrw.vba.htm to netrw.vba -open netrw.vba with Windows gvim (default _vimrc) - type :so % then :q Up to now everything works

Re: netrw troubles

2010-03-04 Thread Charles Campbell
rameo wrote: Hi Chip, Thank you for writing. Yes the set ch=2 command removed the message Press ENTER or type command to continue. (but I don't like the big command line) The trailing slash: The server is a a linux server. No not an old server. There is no way to resolve this problem? A

Re: Unexpected behaviour of File browser in multi-windows environment

2010-03-04 Thread Charles Campbell
Matt Wozniski wrote: On Tue, Mar 2, 2010 at 2:43 PM, Charles Campbell charles.e.campb...@nasa.gov wrote: Bram M came up with a modified test for determining if a mouseclick took place on the status line. It seems to work; I've installed it into netrw v137e

Re: Vim with ssh

2010-03-04 Thread Charles Campbell
mikeyao wrote: I solved problem. If you want to use vim via ssh depend on putty under windows, it must combine pscp/psftp with plink. pscp/psftp used to connect, plink used to execute command on server, for example: list files and directory in 'ls'. This is my settings: '' list files, it's

Re: Vim with ssh

2010-03-04 Thread Charles Campbell
mikeyao wrote: I solved problem. ...[snip]... Here's my proposed new entry which would go under :help netrw-problems : P13. I'm a Windows + putty + ssh user, and when I attempt to browse, the directories are missing trailing /s so netrw treats them as file transfers

Re: Unexpected behaviour of File browser in multi-windows environment

2010-03-04 Thread Patrick Texier
On Thu, 04 Mar 2010 09:54:01 -0500, Charles Campbell wrote: Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable let lastlinenbsp;nbsp; =3D line('$')nbsp;nbsp;nbsp;nbsp; ___^= br

Re: Unexpected behaviour of File browser in multi-windows environment

2010-03-04 Thread Jean Johner
Charles Campbell said: I did this with gvim -u NONE file1 :set nocp :so ~/.vim/plugin/netrwPlugin.vim :sp . [click on status line of file1] which avoids any interference from my .vimrc or other plugins. From your syntax, it seems that you did it under Linux. There is no problem with that

Re: Unexpected behaviour of File browser in multi-windows environment

2010-03-04 Thread Matt Wozniski
On Thu, Mar 4, 2010 at 10:17 AM, Patrick Texier wrote: On Thu, 04 Mar 2010 09:54:01 -0500, Charles Campbell wrote: Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable let lastlinenbsp;nbsp; =3D line('$')nbsp;nbsp;nbsp;nbsp; ___^= br

Re: Unexpected behaviour of File browser in multi-windows environment

2010-03-04 Thread Charles Campbell
Patrick Texier wrote: On Thu, 04 Mar 2010 09:54:01 -0500, Charles Campbell wrote: Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable let lastlinenbsp;nbsp; =3D line('$')nbsp;nbsp;nbsp;nbsp; ___^= br

Re: math, utf-8, and windows

2010-03-04 Thread Charles Campbell
Antony Scriven wrote: Charles Campbell wrote: I've written a math keymap and menu plugin (http://www.vim.org/scripts/script.php?script_id=2723) which generates various math-related glyphs with utf-8 encoding. As a sampling... (which may or may not show up properly in some browsers,

Re: Unexpected behaviour of File browser in multi-windows environment

2010-03-04 Thread Patrick Texier
Le Thu, 04 Mar 2010 10:58:18 -0500, Charles Campbell a écrit dans le message 4b8fd89a.7080...@nasa.gov : Unfortunately Content-Type: text/plain would not have guaranteed fixed width. Necessary for proper viewing. text/plain should be read only using a fixed font. It's not the sender's

what is the advantage to use the vimball to get plugins?

2010-03-04 Thread yixiaodaf...@gmail.com
Hi, As an average user, I sometime to get plugins for vim. For most computer users, we download the files and unzip them. Now, there are plugins distributed required users to install another plugin vimball. It is confused and causing problems for casual users. So here is the question, what is the

Re: what is the advantage to use the vimball to get plugins?

2010-03-04 Thread Marc Weber
Excerpts from yixiaodaf...@gmail.com's message of Thu Mar 04 18:40:28 +0100 2010: Hi, As an average user, I sometime to get plugins for vim. For most computer users, we download the files and unzip them. Now, there are plugins distributed required users to install another plugin vimball.

Re: what is the advantage to use the vimball to get plugins?

2010-03-04 Thread Tom Link
Now, there are plugins distributed required users to install another plugin vimball. vimball is part of the vim. You already have it installed. vba is a simple format for smaller plugins that don't include binary files. What could cause problems on windows is that most vimballs are compressed

Re: what is the advantage to use the vimball to get plugins?

2010-03-04 Thread Charles Campbell
yixiaodaf...@gmail.com wrote: As an average user, I sometime to get plugins for vim. For most computer users, we download the files and unzip them. Now, there are plugins distributed required users to install another plugin vimball. It is confused and causing problems for casual users. So here

Saving, substitution and then getting back where I was

2010-03-04 Thread Rémi Prévost
I have this code: function! UpdateTag() exe normal m' exe ':%s/foo/bar/g' exe normal `' endfunction augroup UpdateTag autocmd! BufWrite * silent call UpdateTag() augroup END It doesn't work exactly as expected. It sets the mark, perform the substitution, jump back

Re: Unexpected behaviour of File browser in multi-windows environment

2010-03-04 Thread Antony Scriven
On 4 March 2010 17:01, Patrick Texier p.tex...@orsennes.com wrote: Le Thu, 04 Mar 2010 10:58:18 -0500, Charles Campbell a écrit dans le message 4b8fd89a.7080...@nasa.gov : Unfortunately Content-Type: text/plain would not have guaranteed fixed width.  Necessary for proper viewing.

Re: Client/server files and rolodex vim

2010-03-04 Thread Dan Wierenga
On Tue, Mar 2, 2010 at 7:53 PM, Tony Mechelynck antoine.mechely...@gmail.com wrote: I suspect that moving the :set noea wmh=0 wh= command into an autocommand for the VimEnter event might cure at least part of the problem but I haven't tried it. That didn't seem to help. but vim

Re: Within mlterm vim doesnt know arabic characters though it knows them in konsole

2010-03-04 Thread Rudolf Bahr
* Tony Mechelynck (antoine.mechely...@gmail.com) [100223 12:49]: Apparently the font chosen by your mlterm terminal doesn't include Arabic glyphs. This is strange, because mlterm is a true-bidi terminal ('termbidi' should be set when you're using it) so it ought to know how to display Hebrew

Re: Unexpected behaviour of File browser in multi-windows environment

2010-03-04 Thread sc
On Thursday 04 March 2010 01:25:44 pm Antony Scriven wrote: It might be worth mentioning that in google groups and gmail at least, there is an option to display a message in a fixed width font. --Antony kmail too sc -- You received this message from the vim_use maillist. Do not top-post!

pattern and syntax hilight

2010-03-04 Thread epanda
Hi, I recognize some keyword with this pattern : \tINFO\t I just want to hilight INFO and not \t. How can I do ? -- 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: pattern and syntax hilight

2010-03-04 Thread John Beckett
epanda wrote: I recognize some keyword with this pattern : \tINFO\t I just want to hilight INFO and not \t. How can I do ? \t\zsINFO\ze\t :help /\zs John -- 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

Two search buffers, different color highlights

2010-03-04 Thread corykendall
Anyone have a plugin or manual setup which lets you do this? I'm thinking the way I use '*' to match the current word, it would be great if I could have '' search for a different word, but keep the first in the search buffer. The new word could be highlighted a different color. -- You received

Re: Two search buffers, different color highlights

2010-03-04 Thread Tim Chase
corykendall wrote: Anyone have a plugin or manual setup which lets you do this? I'm thinking the way I use '*' to match the current word, it would be great if I could have '' search for a different word, but keep the first in the search buffer. The new word could be highlighted a different

Re: hls Colour

2010-03-04 Thread Paul
On Wed, Feb 24, 2010 at 03:35:44PM +1100, John Beckett wrote: ---start--- Highlight current search hit so can easily see it if many hits. highlight SearchCurrent guifg=black guibg=DarkOrange augroup highlight_current autocmd! autocmd CursorMoved * silent call SIDHighlightCurrent() augroup END

Re: How to temporarily change Cursor color and change back

2010-03-04 Thread pansz
Christian Brabandt 写道: Hi pansz! On Do, 04 Mär 2010, pansz wrote: Script can use highlight command to change color, however, if a script meant to change one color temporarily, it has no knowledge about the previous setting. 1. the :hi Cursor is defined by my color scheme. 2. now in some

Re: Client/server files and rolodex vim

2010-03-04 Thread Tony Mechelynck
On 04/03/10 20:32, Dan Wierenga wrote: On Tue, Mar 2, 2010 at 7:53 PM, Tony Mechelynckantoine.mechely...@gmail.com wrote: I suspect that moving the :set noea wmh=0 wh= command into an autocommand for the VimEnter event might cure at least part of the problem but I haven't tried it. That

Re: Cursor color when there is a warning

2010-03-04 Thread Tony Mechelynck
On 04/03/10 09:29, Germain wrote: Thank you. Your first solution is not very pleasant ;) ! For the two following the cursorline become to much dark ... I do not really like that. Looking at your color scheme file, I took the syntax for the Error hilight and I simply change the fg color from

Re: Please, suggest a font!

2010-03-04 Thread John Little
I find that the font I like best depends on the screen and the gui. Presently I'm using Bitstream Vera Sans Mono 7. (The smaller the font, the more you can see at once.) On Windows I often use Lucida sans, but on one project with Philips monitors the Bitstream font was better. Regards, John --

Re: math, utf-8, and windows

2010-03-04 Thread Tony Mechelynck
On 04/03/10 17:11, Charles Campbell wrote: Tony Mechelynck wrote: On 03/03/10 17:17, Charles Campbell wrote: Hello, I've written a math keymap and menu plugin [...] P.S. after installing the vimball and starting to read the helpfile: Oh, and sorry about griping for ς (final lowercase

Re: Please, suggest a font!

2010-03-04 Thread Javier Rojas
On Wed, Mar 03, 2010 at 04:42:15PM +, Antony Scriven wrote: Try Consolas or Inconsolata. --Antony +1 for inconsolata -- Javier Rojas GPG Key ID: 0x24E00D68 -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For

RE: hls Colour

2010-03-04 Thread John Beckett
Paul wrote: I'm not sure what this is supposed to look like. I put it in my .vimrc (after unwrapping the line) and opened another file, set hls and did a search. All search results looked exactly as they do normally, even after specifically :so'ing my .vimrc again... After moving the cursor

RE: Two search buffers, different color highlights

2010-03-04 Thread John Beckett
corykendall wrote: Anyone have a plugin or manual setup which lets you do this? I'm thinking the way I use '*' to match the current word, it would be great if I could have '' search for a different word, but keep the first in the search buffer. The new word could be highlighted a different

Re: what is the advantage to use the vimball to get plugins?

2010-03-04 Thread Tony Mechelynck
On 04/03/10 19:01, Tom Link wrote: Now, there are plugins distributed required users to install another plugin vimball. vimball is part of the vim. You already have it installed. vba is a simple format for smaller plugins that don't include binary files. What could cause problems on windows

Re: Please, suggest a font!

2010-03-04 Thread sc
On Wednesday 03 March 2010 03:00:16 am Dotan Cohen wrote: I have been trying to move to GVIM from Kate, but as I prefer proportional fonts I find the GVIM look to be to hard on my eyes. I have been looking up and down for a decent font that does not look outdated in GVIM yet has good

Re: Unexpected behaviour of File browser in multi-windows environment

2010-03-04 Thread Charles E Campbell Jr
Jean Johner wrote: Charles Campbell said: I did this with gvim -u NONE file1 :set nocp :so ~/.vim/plugin/netrwPlugin.vim :sp . [click on status line of file1] which avoids any interference from my .vimrc or other plugins. From your syntax, it seems that you did it under Linux. There

webpages and vim

2010-03-04 Thread Aman Jain
Hi Sometimes I would like to save the text of a webpage, so that I don't have to copy it over from a browser to vim. I did :e http://www.somewebsite.com and vim shows html for the website. Is there a way such that I get to see only the text, and not the html tags. Thanks Aman Jain -- You

original window width not being restored when closing taglist window

2010-03-04 Thread James Cole
Hi, I've got a question about the Tag List plugin; I know there is a yahoo group specifically for taglist but it doesn't seem very active and I haven't had any replies there, so I thought I'd try here. I've got taglist set up to to expand the gVim window's width when it opens, and it should be

Re: webpages and vim

2010-03-04 Thread Tony Mechelynck
On 05/03/10 05:08, Aman Jain wrote: Hi Sometimes I would like to save the text of a webpage, so that I don't have to copy it over from a browser to vim. I did :e http://www.somewebsite.com and vim shows html for the website. Is there a way such that I get to see only the text, and not the

Re: webpages and vim

2010-03-04 Thread Israel Chauca F.
On Mar 4, 2010, at 10:08 PM, Aman Jain wrote: Hi Sometimes I would like to save the text of a webpage, so that I don't have to copy it over from a browser to vim. I did :e http://www.somewebsite.com and vim shows html for the website. You could try using Lynx[1] to fetch and format the

Re: webpages and vim

2010-03-04 Thread Tom Link
You could try using Lynx[1] to fetch and format the page: :r !lynx -dumphttp://www.somewebsite.com Alternatives are w3m and links. They also render frames and tables. Lynx is probably preferable when used from the terminal or when running diff over the output. -- You received this message

Re: Vim with ssh

2010-03-04 Thread mikeyao
On Mar 4, 11:01 pm, Charles Campbell charles.e.campb...@nasa.gov wrote: mikeyaowrote: I solved problem. If you want to use vim via ssh depend on putty under windows, it must combine pscp/psftp with plink.  pscp/psftp used to connect, plink used to execute command on server, for

Re: webpages and vim

2010-03-04 Thread Aman Jain
Thanks! -- 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 http://www.vim.org/maillist.php