netrw v103b

2006-07-31 Thread Hugo Ahlenius
Hi, I just upgraded netrw to netrw 103b from Charles Campbell's web-site. Now it seems like opening a directory by just trying to edit it doesn't work, like it used to: :e c:\ Could there be an autocommand that is missing? The only message I get is "Illegal file name". Browsing directorie

Re: Clearing Jumplist

2006-07-31 Thread Jürgen Krämer
Hi, SHANKAR R-R66203 wrote: > >When I open a particular file, I want to clear all the jumplist. >How do I do that ? Is there any function when called clears the > jumplist. I don't think there is a function for this. The best way I could think of is to set the jumplist to the same (curr

Clearing Jumplist

2006-07-31 Thread SHANKAR R-R66203
Hi All, When I open a particular file, I want to clear all the jumplist. How do I do that ? Is there any function when called clears the jumplist. Regards, Shankar Shankar Ramakrishnan Design Engineer MicroController Division Freescale Semiconductor NOIDA - 201 301, INDIA Mobile : 09899125

Re: Howto get omnicomplete popup for vimspell suggestions

2006-07-31 Thread Srinivas Rao. M
bumping it up ? Any methods to get omni complete for spell checkers ? TIA, On Fri, 2006-07-28 at 10:45, Srinivas Rao. M wrote: > > From where I sit it looks like z= opens neither buffer nor popup, but > > lists the alternatives on the command-line (pushing all windows up out > > of the screen)

Re: indents when copying and pasting

2006-07-31 Thread Gary Johnson
On 2006-08-01, [EMAIL PROTECTED] wrote: > I have the following problem: > When I cut and paste on my linux box, from one vi instance to > another, I get all the indents of the 'from' file in addition to > the indents that get inserted on newline. [...] > Obviously I have my editor set so it auto

Re: indents when copying and pasting

2006-07-31 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: Hi Guys. I really like this list. Everyone is so helpful. That's not just a suck-up (-: I have the following problem: When I cut and paste on my linux box, from one vi instance to another, I get all the indents of the 'from' file in addition to the indents that get ins

Re: indents when copying and pasting

2006-07-31 Thread Pete Johns
On Tue, 2006-08-01 at 10:29:55 +0930, <[EMAIL PROTECTED]>sent: >Hi Guys. > G'day Luke! >I really like this list. >Everyone is so helpful. >That's not just a suck-up (-: > He he. Yeah, I learn a lot from reading this list. >I have the following problem: >-8<- >Obviously I have my editor se

indents when copying and pasting

2006-07-31 Thread luke
Hi Guys. I really like this list. Everyone is so helpful. That's not just a suck-up (-: I have the following problem: When I cut and paste on my linux box, from one vi instance to another, I get all the indents of the 'from' file in addition to the indents that get inserted on newline. Iow. Wh

Re: Running win32 vim and gvim under Cygwin and pure Windows XP

2006-07-31 Thread Gary Johnson
On 2006-07-31, [EMAIL PROTECTED] wrote: > Gary Johnson <[EMAIL PROTECTED]> wrote: > > I just installed rxvt using Cygwin setup.exe and it seems to work > > fine except when I execute vim: then my CPU usage goes to 50% and I > > can see vim.exe in the Task Manager process list, but vim never > >

Re: Help with unwanted shell character expansion

2006-07-31 Thread A.J.Mechelynck
Bob Hiestand wrote: Question one: Is there a way to achieve execution of system commands without using the shell? Here I'm thinking (for example) of, in perl, the difference between using a single argument to exec() and using multiple arguments. In the first version, shell characters are expa

Help with unwanted shell character expansion

2006-07-31 Thread Bob Hiestand
Question one: Is there a way to achieve execution of system commands without using the shell? Here I'm thinking (for example) of, in perl, the difference between using a single argument to exec() and using multiple arguments. In the first version, shell characters are expanded, in the second,

Re: PCBSD error

2006-07-31 Thread Robin Becker
A.J.Mechelynck wrote: ... and that seems to do stuff with -DFEAT_GTK12 flags etc etc, but still no fonts. xlsfonts shows a big list, but I don't know what part of the font name to pass in to set guifont. Certainly Courier/10 didn't seem to work :( I can actually get the makefile to

Re: Disable spell for certain filetypes

2006-07-31 Thread C Rose
Many thanks Tony, C A.J.Mechelynck wrote: C Rose wrote: Hi Is it possible to tell vim 7 to use spell in general, but not for files with specific filename extensions? Thanks in advance C :set spell :autocmd FileType c,cpp,lisp setlocal nospell Replace the list of comma-sepa

Re: Disable spell for certain filetypes

2006-07-31 Thread A.J.Mechelynck
C Rose wrote: Hi Is it possible to tell vim 7 to use spell in general, but not for files with specific filename extensions? Thanks in advance C :set spell :autocmd FileType c,cpp,lisp setlocal nospell Replace the list of comma-separated filetypes by whatever you want. To

Re: Disable spell for certain filetypes

2006-07-31 Thread C Rose
Is it possible to tell vim 7 to use spell in general, but not for files with specific filename extensions? maybe somthing like: set spell autocmd BufLoad *.c setlocal nospell OK, thanks, will try. C

Re: Disable spell for certain filetypes

2006-07-31 Thread Kim Schulz
On Mon, 31 Jul 2006 15:52:01 +0100 C Rose <[EMAIL PROTECTED]> wrote: > Hi > > Is it possible to tell vim 7 to use spell in general, but not for > files with specific filename extensions? > > Thanks in advance maybe somthing like: set spell autocmd BufLoad *.c setlocal nospell -- Kim Schulz

Re: AsNeeded?

2006-07-31 Thread Charles E Campbell Jr
Bill McCarthy wrote: Chip, I tried again with just AsNeeded and taglist in my vimfiles\plugin and vimfiles\doc - otherwise an empty vimfiles tree - and fairly minimalist _vimrc and _gvimrc (see below my sig). I opened an edit session on a small project with 25 .c or .h files: gvim *.c *

Disable spell for certain filetypes

2006-07-31 Thread C Rose
Hi Is it possible to tell vim 7 to use spell in general, but not for files with specific filename extensions? Thanks in advance C

Re: PCBSD error

2006-07-31 Thread A.J.Mechelynck
Robin Becker wrote: A.J.Mechelynck wrote: Robin Becker wrote: .. 'guifontset' being empty is usually not a problem; and 'guifont' can be empty (giving some "default" font); but in any case you need fonts installed at a place where gvim can find them in order to run it as a GUI. You

Re: PCBSD error

2006-07-31 Thread Yakov Lerner
On 7/31/06, Robin Becker <[EMAIL PROTECTED]> wrote: Yakov Lerner wrote: > On 7/31/06, Robin Becker <[EMAIL PROTECTED]> wrote: >> Robin Becker wrote: >> ... >> > >> > I've checked and it's not actually Konsole that causes this. I see the >> > same with a standard console or xterm. I believe th

Re: PCBSD error

2006-07-31 Thread Robin Becker
A.J.Mechelynck wrote: Robin Becker wrote: .. 'guifontset' being empty is usually not a problem; and 'guifont' can be empty (giving some "default" font); but in any case you need fonts installed at a place where gvim can find them in order to run it as a GUI. You may want to check if

Re: PCBSD error

2006-07-31 Thread Robin Becker
Yakov Lerner wrote: On 7/31/06, Robin Becker <[EMAIL PROTECTED]> wrote: Robin Becker wrote: ... > > I've checked and it's not actually Konsole that causes this. I see the > same with a standard console or xterm. I believe the message comes very > early. I think I'm going to try and install V

Re: ViM on 2. monitor

2006-07-31 Thread A.J.Mechelynck
Alexander 'boesi' Bösecke wrote: Hi I have 2 monitors - the first is attached to an AGP-card (Nvidia GF TI2) and the second one is attached to a PCI-card (Matrox G400 DH). If I'm running ViM on the 1. monitor, all works fine. But when ViM is on the 2. monitor, the display speed is horribly slow

RE: Vim and cscope

2006-07-31 Thread Sibin P. Thomas
Thanks for the reply, but the problem persists. Is there somehow I could get hold of the source of this version of cscope? Regards, Sibin -Original Message- From: David Fishburn [mailto:[EMAIL PROTECTED] Sent: Monday, July 31, 2006 6:12 PM To: Sibin P. Thomas Cc: vim@vim.org Subject:

Re: PCBSD error

2006-07-31 Thread A.J.Mechelynck
Robin Becker wrote: Robin Becker wrote: ... I've checked and it's not actually Konsole that causes this. I see the same with a standard console or xterm. I believe the message comes very early. I think I'm going to try and install Vim from the ports rather than rely on the pbi. I've in

ViM on 2. monitor

2006-07-31 Thread Alexander 'boesi' Bösecke
Hi I have 2 monitors - the first is attached to an AGP-card (Nvidia GF TI2) and the second one is attached to a PCI-card (Matrox G400 DH). If I'm running ViM on the 1. monitor, all works fine. But when ViM is on the 2. monitor, the display speed is horribly slow. For example it takes 5 (five!) se

Re: Differences with vim 7

2006-07-31 Thread A.J.Mechelynck
Yakov Lerner wrote: On 7/31/06, Yakov Lerner <[EMAIL PROTECTED]> wrote: On 7/31/06, Robert Cussons <[EMAIL PROTECTED]> wrote: > > > > > > > Are those two vims built with same GUI libraries ? I suspect > > that they are build with different GUIs. > > Can you send first 4 lines out :version outp

Re: Differences with vim 7

2006-07-31 Thread A.J.Mechelynck
Yakov Lerner wrote: On 7/31/06, Robert Cussons <[EMAIL PROTECTED]> wrote: Robert Cussons wrote: > > > Peter Hodge wrote: > >> Some GUIs will allow you to use the command >> >> set guifont=* >> >> Which brings up a font selection window. If that works, you can >> select a font >> and then use

Fontset [was] Differences with vim 7

2006-07-31 Thread Donald Axel
I should have used my mail-list address, so I excuse for sending this mail twice. Hi Robert-in-search-of-fonts: This thread reminds me of an earlier when I wonderer where my favourite fonts had disappeared. The "culprit" is the advanced x-fontset feature which GTK uses. I am not a

Re: Running win32 vim and gvim under Cygwin and pure Windows XP

2006-07-31 Thread hermitte
Hello, Gary Johnson <[EMAIL PROTECTED]> wrote: > On 2006-07-27, Luc Hermitte <[EMAIL PROTECTED]> wrote: > > > More over I don't have any c:/ drive, and the shell can be anything. > > I'm having a little trouble understanding how the shell can be > anything. I just meant it can be bash, sh, tcsh,

RE: Vim and cscope

2006-07-31 Thread David Fishburn
> -Original Message- > From: Sibin P. Thomas [mailto:[EMAIL PROTECTED] > Sent: Monday, July 31, 2006 6:25 AM ... > I tried integrating Cscope 15.4 with Vim7.0 on WinXP (I have > installed cygwin too); but whenever I try to use cscope in > Vim I get the following error - > > "E623: C

Re: Differences with vim 7

2006-07-31 Thread Yakov Lerner
On 7/31/06, Yakov Lerner <[EMAIL PROTECTED]> wrote: On 7/31/06, Robert Cussons <[EMAIL PROTECTED]> wrote: > > > > > > > Are those two vims built with same GUI libraries ? I suspect > > that they are build with different GUIs. > > Can you send first 4 lines out :version output from each of two v

Re: Differences with vim 7

2006-07-31 Thread Yakov Lerner
On 7/31/06, Robert Cussons <[EMAIL PROTECTED]> wrote: > > > Are those two vims built with same GUI libraries ? I suspect > that they are build with different GUIs. > Can you send first 4 lines out :version output from each of two vims ? > > Yakov > > P.S. I remember that I had similar issue be

Re: PCBSD error

2006-07-31 Thread Yakov Lerner
On 7/31/06, Robin Becker <[EMAIL PROTECTED]> wrote: Robin Becker wrote: ... > > I've checked and it's not actually Konsole that causes this. I see the > same with a standard console or xterm. I believe the message comes very > early. I think I'm going to try and install Vim from the ports rat

Re: Differences with vim 7

2006-07-31 Thread Robert Cussons
Are those two vims built with same GUI libraries ? I suspect that they are build with different GUIs. Can you send first 4 lines out :version output from each of two vims ? Yakov P.S. I remember that I had similar issue between one Qt-based program and similar Xt-based program. I set same

Re: Differences with vim 7

2006-07-31 Thread Yakov Lerner
On 7/31/06, Robert Cussons <[EMAIL PROTECTED]> wrote: Robert Cussons wrote: > > > Peter Hodge wrote: > >> Some GUIs will allow you to use the command >> >> set guifont=* >> >> Which brings up a font selection window. If that works, you can >> select a font >> and then use >> >> set guifont >

Re: PCBSD error

2006-07-31 Thread Robin Becker
Robin Becker wrote: ... I've checked and it's not actually Konsole that causes this. I see the same with a standard console or xterm. I believe the message comes very early. I think I'm going to try and install Vim from the ports rather than rely on the pbi. I've installed Vim from the

Re: Differences with vim 7

2006-07-31 Thread A.J.Mechelynck
Robert Cussons wrote: Robert Cussons wrote: Peter Hodge wrote: Some GUIs will allow you to use the command set guifont=* Which brings up a font selection window. If that works, you can select a font and then use set guifont to find out exactly what to add to your .vimrc regards,

Re: Differences with vim 7

2006-07-31 Thread Robert Cussons
Robert Cussons wrote: Peter Hodge wrote: Some GUIs will allow you to use the command set guifont=* Which brings up a font selection window. If that works, you can select a font and then use set guifont to find out exactly what to add to your .vimrc regards, Peter --- Yakov Lerner

Re: windows unicode (iso10646-1) font for vim

2006-07-31 Thread Georg Dahn
I am not sure, if they have CJK included yet, but http://dejavu.sourceforge.net/wiki/index.php/Main_Page is a set of Unicode fonts which are being worked at intensely. --- "A.J.Mechelynck" <[EMAIL PROTECTED]> wrote: > As I already mentioned, on Windows I use Courier_New for Russian and > Arabic,

Vim and cscope

2006-07-31 Thread Sibin P. Thomas
Hi,   I tried integrating Cscope 15.4 with Vim7.0 on WinXP (I have installed cygwin too); but whenever I try to use cscope in Vim I get the following error - "E623: Could not spawn cscope process".   Has anyone come across this problem before and more importantly found a solution?  

Re: au! failure in vimrc

2006-07-31 Thread A.J.Mechelynck
Bill McCarthy wrote: Hello Vim List, Suppose two plugins define autocmds, so after start Vim, :au FuncUndefined displays: * call AsNeeded(1,expand("")) Tlist_* source C:\vim\vimfiles\plugin\taglist.vim Now I add a line to my _vimrc: au! FuncUndefined * call Foo()

Re: windows unicode (iso10646-1) font for vim

2006-07-31 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: > "A.J.Mechelynck" <[EMAIL PROTECTED]> wrote on 2006.07.31 > 01:17:38: > >> Dr. Johannes Zellner wrote: >>> Hello, >>> >>> Apparently, there are only very few monospaced unicode fonts in Windows >>> which can be used with vim. >>> >>> On Linux I like to use for example the

Re: Differences with vim 7

2006-07-31 Thread Robert Cussons
Yakov Lerner wrote: On 7/31/06, Robert Cussons <[EMAIL PROTECTED]> wrote: Yakov Lerner wrote: > > > 1. In vim6.3 , try >:set guifont? > and select the font name with mouse > 2. In vim7, try > :set guifont=xxx > where xxx if font name as you selected it from vim6.3 > If you get the right

Re: Differences with vim 7

2006-07-31 Thread Yakov Lerner
On 7/31/06, Robert Cussons <[EMAIL PROTECTED]> wrote: Yakov Lerner wrote: > > > 1. In vim6.3 , try >:set guifont? > and select the font name with mouse > 2. In vim7, try > :set guifont=xxx > where xxx if font name as you selected it from vim6.3 > If you get the right font, then put this :

Re: Add to jumplist

2006-07-31 Thread Jürgen Krämer
Hi, SHANKAR R-R66203 wrote: > > Is there a function, to add the line under the cursor to the jump-list > ? > > This may sound strange. I am coding a function in which "from the > current line, the cursor moves to a different line or a file > altogather." > I want a way to come back if need

Add to jumplist

2006-07-31 Thread SHANKAR R-R66203
Hi, Is there a function, to add the line under the cursor to the jump-list ? This may sound strange. I am coding a function in which "from the current line, the cursor moves to a different line or a file altogather." I want a way to come back if needed by the CTRL-O command Shankar

Re: Differences with vim 7

2006-07-31 Thread Robert Cussons
Yakov Lerner wrote: 1. In vim6.3 , try :set guifont? and select the font name with mouse 2. In vim7, try :set guifont=xxx where xxx if font name as you selected it from vim6.3 If you get the right font, then put this :set guifont=xxx line into .vimrc Yakov Hi Yakov, :set guifont? y

Re: Differences with vim 7

2006-07-31 Thread Yakov Lerner
On 7/31/06, Robert Cussons <[EMAIL PROTECTED]> wrote: Robert Cussons wrote: > Peter Hodge wrote: > >> Some GUIs will allow you to use the command >> >> set guifont=* >> >> Which brings up a font selection window. If that works, you can >> select a font >> and then use >> >> set guifont >> >>

Re: Running win32 vim and gvim under Cygwin and pure Windows XP

2006-07-31 Thread Gary Johnson
On 2006-07-27, Luc Hermitte <[EMAIL PROTECTED]> wrote: > More over I don't have any c:/ drive, and the shell can be anything. I'm having a little trouble understanding how the shell can be anything. What I think you're saying, and what I've understood from reading your web pages, is that you l

Re: AsNeeded?

2006-07-31 Thread Bill McCarthy
I "solved" the conflict between AsNeeded.vim and taglist.vim by overriding the FuncUndefined autocmd in AsNeeded.vim. I created fixup.vim in vimfiles\after\plugin with one "line": autocmd! FuncUndefined * \ if expand("") !~# "Tlist" \ && expand("") !~# "TagList" \|

Re: au! failure in vimrc

2006-07-31 Thread Bill McCarthy
Jürgen and Peter, > vimrc is read before plugins, so your au! command in > .vimrc can't replace the AsNeeded autocommand because > AsNeeded hasn't been defined yet. Thanks for your quick responses. It must be too late here. Of course _vimrc is processed before the plugins. I've made my modific

Re: unmapping thinkpad back forward key?

2006-07-31 Thread panshizhu
Jiang Qian <[EMAIL PROTECTED]> wrote on 2006.07.31 15:32:15: > Hi All: > I've been out of clue with this one: I have a thinkpad notebook, which > has backward and forward key just above and > . > > In X, I add the lines to ~/.Xmodmap: > keycode 234=F19 > keycode 233=F20 > to map the two keys to s

Re: augroup! not working for VimLeave

2006-07-31 Thread Christian Ebert
* Gary Johnson on Monday, July 31, 2006 at 01:13:10 -0700: > To paraphrase Will Rogers: "All I know is what I read in the > manual." heh > ":help :autocmd-remove" says, > > :au[tocmd]! [group] Remove ALL autocommands. > > And as you discovered, ":help augroup-delete" says not to execu

Re: au! failure in vimrc

2006-07-31 Thread Jürgen Krämer
Hi, Bill McCarthy wrote: > > Suppose two plugins define autocmds, so after start Vim, > > :au FuncUndefined > > displays: > > * call AsNeeded(1,expand("")) > Tlist_* source C:\vim\vimfiles\plugin\taglist.vim > > Now I add a line to my _vimrc: > > au! FuncUndefined

Re: au! failure in vimrc

2006-07-31 Thread Peter Hodge
Hi Bill, vimrc is read before plugins, so your au! command in .vimrc can't replace the AsNeeded autocommand because AsNeeded hasn't been defined yet. regards, Peter --- Bill McCarthy <[EMAIL PROTECTED]> wrote: > Hello Vim List, > > Suppose two plugins define autocmds, so after start Vim, >

Re: augroup! not working for VimLeave

2006-07-31 Thread Gary Johnson
On 2006-07-31, Christian Ebert <[EMAIL PROTECTED]> wrote: > Hello, > > Consider the following: > > augroup TestLeave > au! > au VimLeave * echo "hello" > augroup END > > Now if I do: > > :augroup! TestLeave > > TestLeave is still echoing hello. > > Whereas if I do: > > :au! TestLeave >

au! failure in vimrc

2006-07-31 Thread Bill McCarthy
Hello Vim List, Suppose two plugins define autocmds, so after start Vim, :au FuncUndefined displays: * call AsNeeded(1,expand("")) Tlist_* source C:\vim\vimfiles\plugin\taglist.vim Now I add a line to my _vimrc: au! FuncUndefined * call Foo() Now after starting Vim

Re: Differences with vim 7

2006-07-31 Thread Robert Cussons
Robert Cussons wrote: Peter Hodge wrote: Some GUIs will allow you to use the command set guifont=* Which brings up a font selection window. If that works, you can select a font and then use set guifont to find out exactly what to add to your .vimrc regards, Peter --- Yakov Lerner <

Re: Differences with vim 7

2006-07-31 Thread Robert Cussons
Peter Hodge wrote: Some GUIs will allow you to use the command set guifont=* Which brings up a font selection window. If that works, you can select a font and then use set guifont to find out exactly what to add to your .vimrc regards, Peter --- Yakov Lerner <[EMAIL PROTECTED]> wrote:

augroup! not working for VimLeave

2006-07-31 Thread Christian Ebert
Hello, Consider the following: augroup TestLeave au! au VimLeave * echo "hello" augroup END Now if I do: :augroup! TestLeave TestLeave is still echoing hello. Whereas if I do: :au! TestLeave TestLeave is deleted. Is this a case covered by:

unmapping thinkpad back forward key?

2006-07-31 Thread Jiang Qian
Hi All: I've been out of clue with this one: I have a thinkpad notebook, which has backward and forward key just above and . In X, I add the lines to ~/.Xmodmap: keycode 234=F19 keycode 233=F20 to map the two keys to something useful. If I use gvim and type the Forward and Backward key in in

Re: Differences with vim 7

2006-07-31 Thread Peter Hodge
Some GUIs will allow you to use the command set guifont=* Which brings up a font selection window. If that works, you can select a font and then use set guifont to find out exactly what to add to your .vimrc regards, Peter --- Yakov Lerner <[EMAIL PROTECTED]> wrote: > On 7/31/06, Robert

Re: Differences with vim 7

2006-07-31 Thread Yakov Lerner
On 7/31/06, Robert Cussons <[EMAIL PROTECTED]> wrote: I just installed vim 7 on my linux system at work (more specifically debian sarge running KDE 3.3) and I get a few funny things happening. It is installed in my home/bin directory as I don't have root permissions. All comments seem to come out

Differences with vim 7

2006-07-31 Thread Robert Cussons
I just installed vim 7 on my linux system at work (more specifically debian sarge running KDE 3.3) and I get a few funny things happening. It is installed in my home/bin directory as I don't have root permissions. All comments seem to come out underlined and the fonts for everything including t