Re: display tweaks - tilde lines, statusline..

2006-06-04 Thread A.J.Mechelynck
cga2000 wrote: On Sun, Jun 04, 2006 at 08:50:18PM EDT, A.J.Mechelynck wrote: cga2000 wrote: On Sun, Jun 04, 2006 at 03:11:10PM EDT, A.J.Mechelynck wrote: [...] Note that the same highlight group also governs the @ or @@@ for a partial line at the end of a window, and possibl

Re: :ha printouts - fontsize

2006-06-04 Thread cga2000
On Sun, Jun 04, 2006 at 09:07:47PM EDT, A.J.Mechelynck wrote: > cga2000 wrote: > >On Sun, Jun 04, 2006 at 02:57:56PM EDT, A.J.Mechelynck wrote: > > > >>cga2000 wrote: > >> > >>>I occasionally need a quick printout of what I am currently editing and > >>>use the :ha command. I was wondering wh

Re: display tweaks - tilde lines, statusline..

2006-06-04 Thread cga2000
On Sun, Jun 04, 2006 at 08:50:18PM EDT, A.J.Mechelynck wrote: > cga2000 wrote: > >On Sun, Jun 04, 2006 at 03:11:10PM EDT, A.J.Mechelynck wrote: > > > >[...] > > > >>Note that the same highlight group also governs the @ or @@@ for a > >>partial line at the end of a window, and possibly other th

Re: any way to keep buffers confined to a tab?

2006-06-04 Thread Eric Arnold
It would be possible to create a buffer variable holding the tab number, and an autocommand+func could keep it from showing by immediately closing it, but I think you've got more difficulties if you want :bn to work. If you know that it's what you want, you could do the autocommand so that it d

Re: Using GUI on Mac OS X

2006-06-04 Thread Peter Hodge
Hi, Downloading the vim-7-extra.tar.gz file did the trick and I now have a functional Vim GUI. Unfortunately now it seems that the command-line executables aren't compiled / installed, just the Vim.app, which I find slightly annoying. Now that I have a functional Gui ... is there a way for me to

Re: Add omni-completion for Python's Base Modules

2006-06-04 Thread Linsong
Panos Laganakos wrote: Hello, Is it possible to have omni-completion for python's base modules, like sys, os etc? And even more interesting support for any other module installed in site-packages. Thanks. Hi, AFAIK, it has already worked. BR Vincent

Re: any way to keep buffers confined to a tab?

2006-06-04 Thread A.J.Mechelynck
Denis Perelyubskiy wrote: Hello, Is there any way to configure tabs so that any buffer you open in it is only visible in that particular tab? This would imply that when one cycles through buffers with :bn/:bp only the buffers that are 'tied' to the tab you are in show up? Thanks, denis A si

any way to keep buffers confined to a tab?

2006-06-04 Thread Denis Perelyubskiy
Hello, Is there any way to configure tabs so that any buffer you open in it is only visible in that particular tab? This would imply that when one cycles through buffers with :bn/:bp only the buffers that are 'tied' to the tab you are in show up? Thanks, denis -- // mailto: Denis Perelyubskiy

Re: :ha printouts - fontsize

2006-06-04 Thread A.J.Mechelynck
cga2000 wrote: On Sun, Jun 04, 2006 at 02:57:56PM EDT, A.J.Mechelynck wrote: cga2000 wrote: I occasionally need a quick printout of what I am currently editing and use the :ha command. I was wondering whether there was any way I could switch to a different printer font or choose a small

Re: :ha printouts - fontsize

2006-06-04 Thread cga2000
On Sun, Jun 04, 2006 at 02:57:56PM EDT, A.J.Mechelynck wrote: > cga2000 wrote: > >I occasionally need a quick printout of what I am currently editing and > >use the :ha command. I was wondering whether there was any way I could > >switch to a different printer font or choose a smaller font size. >

Re: display tweaks - tilde lines, statusline..

2006-06-04 Thread A.J.Mechelynck
cga2000 wrote: On Sun, Jun 04, 2006 at 03:11:10PM EDT, A.J.Mechelynck wrote: [...] Note that the same highlight group also governs the @ or @@@ for a partial line at the end of a window, and possibly other things too. I had thought of that while experimenting - although I have no id

Re: :ha printouts - fontsize

2006-06-04 Thread cga2000
On Sun, Jun 04, 2006 at 02:50:02PM EDT, Yegappan Lakshmanan wrote: > Hi, > > On 6/4/06, cga2000 <[EMAIL PROTECTED]> wrote: > >I occasionally need a quick printout of what I am currently editing and > >use the :ha command. I was wondering whether there was any way I could > >switch to a different p

Re: display tweaks - tilde lines, statusline..

2006-06-04 Thread cga2000
On Sun, Jun 04, 2006 at 03:11:10PM EDT, A.J.Mechelynck wrote: > cga2000 wrote: > >Is there any way the "tilde lines" that represent empty lines at the end > >of the buffer can be changed to something else or removed altogether? > > > You may change their colour. If you set bg and fg to the same

Add omni-completion for Python's Base Modules

2006-06-04 Thread Panos Laganakos
Hello, Is it possible to have omni-completion for python's base modules, like sys, os etc? And even more interesting support for any other module installed in site-packages. Thanks.

Re: quick math computations

2006-06-04 Thread Bill McCarthy
On Sat 3-Jun-06 9:50pm -0600, stri ker wrote: > My question is this: > Is there a way to do calculations with doubles instead of integers > without piping to an external program like bc and then inserting into > a buffer? > For example > > :r!echo '491.41 - 29.74' | bc > > works when putting the r

Re: display tweaks - tilde lines, statusline..

2006-06-04 Thread cga2000
On Sun, Jun 04, 2006 at 02:47:48PM EDT, Yegappan Lakshmanan wrote: > Hi, > > On 6/4/06, cga2000 <[EMAIL PROTECTED]> wrote: > >Is there any way the "tilde lines" that represent empty lines at the end > >of the buffer can be changed to something else or removed altogether? > > > > AFAIK, you cannot

Re: display tweaks - tilde lines, statusline..

2006-06-04 Thread A.J.Mechelynck
cga2000 wrote: Is there any way the "tilde lines" that represent empty lines at the end of the buffer can be changed to something else or removed altogether? You may change their colour. If you set bg and fg to the same value, they will become invisible. For instance: :hi NonText cterm=NON

Re: :ha printouts - fontsize

2006-06-04 Thread A.J.Mechelynck
cga2000 wrote: I occasionally need a quick printout of what I am currently editing and use the :ha command. I was wondering whether there was any way I could switch to a different printer font or choose a smaller font size. I doubt this is relevant but just in case I'll mention that I use vim on

Re: :ha printouts - fontsize

2006-06-04 Thread Yegappan Lakshmanan
Hi, On 6/4/06, cga2000 <[EMAIL PROTECTED]> wrote: I occasionally need a quick printout of what I am currently editing and use the :ha command. I was wondering whether there was any way I could switch to a different printer font or choose a smaller font size. Did you try changing the 'printfon

Re: display tweaks - tilde lines, statusline..

2006-06-04 Thread Yegappan Lakshmanan
Hi, On 6/4/06, cga2000 <[EMAIL PROTECTED]> wrote: Is there any way the "tilde lines" that represent empty lines at the end of the buffer can be changed to something else or removed altogether? AFAIK, you cannot remove/hide the tilde lines. You can change the highlighting used for the tilde li

Re: Fwd: grep used from gvim

2006-06-04 Thread A.J.Mechelynck
Alexandru Iancu wrote: Hi, I noticed that grep behaves differently in vim and gvim (both ran in Linux). While using grep from vim I'm able to move between the results with :cn/cp used from gvim the command gets replaced by something like: !grep -n 'my_string_and_options_here' /dev/null ... | te

Re: quick math computations

2006-06-04 Thread Gerhard Siegesmund
> Thanks, this does work for addition and subtraction. The problem I > run into is when I try to divide and return a decimal. > For example: > !echo '(17/32)*1000' | bc#returns 0; The problem is that the > scale variable in bc must be set to a number other than zero in order > to display

display tweaks - tilde lines, statusline..

2006-06-04 Thread cga2000
Is there any way the "tilde lines" that represent empty lines at the end of the buffer can be changed to something else or removed altogether? Is there any was the "statusline" can be displayed systematically? As far as I can tell it only materializes when I split the display. Is there any way I

Re: quick math computations

2006-06-04 Thread A.J.Mechelynck
stri ker wrote: Thanks, this does work for addition and subtraction. The problem I run into is when I try to divide and return a decimal. For example: !echo '(17/32)*1000' | bc #returns 0; The problem is that the scale variable in bc must be set to a number other than zero in order to display

:ha printouts - fontsize

2006-06-04 Thread cga2000
I occasionally need a quick printout of what I am currently editing and use the :ha command. I was wondering whether there was any way I could switch to a different printer font or choose a smaller font size. I doubt this is relevant but just in case I'll mention that I use vim on an xterm and cup

Fwd: grep used from gvim

2006-06-04 Thread Alexandru Iancu
Hi, I noticed that grep behaves differently in vim and gvim (both ran in Linux). While using grep from vim I'm able to move between the results with :cn/cp used from gvim the command gets replaced by something like: !grep -n 'my_string_and_options_here' /dev/null ... | tee /tmp/... The 'grepprg' h

Re: How to comment a line in vim?

2006-06-04 Thread Bertram Scharpf
Hi, Am Freitag, 02. Jun 2006, 22:27:42 +0800 schrieb Eric Luo: > I want to comment a new line or comment an existing line at the end of > the current line. In Emacs, I have M-; to do the job. > > Could anyone tell me that weather the similar functionality existed? Something like this: :norema

Re: quick math computations

2006-06-04 Thread stri ker
Thanks, this does work for addition and subtraction. The problem I run into is when I try to divide and return a decimal. For example: !echo '(17/32)*1000' | bc#returns 0; The problem is that the scale variable in bc must be set to a number other than zero in order to display the calcu

Re: How to use map to exchange g and G keys?

2006-06-04 Thread Yakov Lerner
On 6/4/06, Georg Dahn <[EMAIL PROTECTED]> wrote: Hi! > IOW, the problem seems to be caused by a gx mapping somewhere in the > netrw plugin set. You might try downloading the latest version, probably > from Dr. Charles "Chip" Campbell's site (astronaut or somesuch). I have done this now and inst

Re: Alt key mapping trouble under windows XP

2006-06-04 Thread A.J.Mechelynck
Eyal Raab wrote: Hi Tony, Thanks for the quick reply. Mabye could it be something with my new Microsoft Ergonomic keyboard? I'll look into it. Eyal. I don't know, I don't even know what a "Microsoft Ergonomic Keyboard" looks like. I've always used plain rectangular AZERTY keyboards (with

Re: Alt key mapping trouble under windows XP

2006-06-04 Thread Gerald Lai
On Sun, 4 Jun 2006, Eyal Raab wrote: Hi, I'm using VIM 7.0 under windows XP. [snip] What I'm trying to do is to keep using the h,j,k,l in insert mode by mapping the alt-key to them. Something like: :map ji [snip] :map does not include Insert mode mapping. See ":help map-modes". This shoul

RE: Alt key mapping trouble under windows XP

2006-06-04 Thread Eyal Raab
Hi Tony, Thanks for the quick reply. Mabye could it be something with my new Microsoft Ergonomic keyboard? I'll look into it. Eyal. -Original Message- From: A.J.Mechelynck [mailto:[EMAIL PROTECTED] Sent: Sunday, June 04, 2006 9:30 AM To: Eyal Raab Cc: vim@vim.org Subject: Re: Alt key m

Re: Alt key mapping trouble under windows XP

2006-06-04 Thread A.J.Mechelynck
Eyal Raab wrote: Hi, I'm using VIM 7.0 under windows XP. I'm trying to define some alt key bindings and I can't seem to succeed. The trouble I'm having is that as soon as I press the ALT key, it jumps to the menu, even if I have: set winaltkeys=menu or set winaltkeys=no I've looked around

Re: How to use map to exchange g and G keys?

2006-06-04 Thread A.J.Mechelynck
Georg Dahn wrote: Hi! IOW, the problem seems to be caused by a gx mapping somewhere in the netrw plugin set. You might try downloading the latest version, probably from Dr. Charles "Chip" Campbell's site (astronaut or somesuch). I have done this now and installed it as described in the mess

Alt key mapping trouble under windows XP

2006-06-04 Thread Eyal Raab
Hi, I'm using VIM 7.0 under windows XP. I'm trying to define some alt key bindings and I can't seem to succeed. The trouble I'm having is that as soon as I press the ALT key, it jumps to the menu, even if I have: set winaltkeys=menu or set winaltkeys=no I've looked around the web and the VIM