RE: Split not visible in putty

2006-05-19 Thread Sanjaya
In addition... rpm -qa | grep vi gives system-config-services-0.8.15-1 gtksourceview-1.1.0-4 device-mapper-1.00.19-2 vim-minimal-6.3.035-3 htmlview-3.0.0-8 vixie-cron-4.1-20_EL system-logviewer-0.9.12-0.2 tetex-dvips-2.0.2-21RH4.1 libxklavier-1.02-3 vino-2.8.1-1 -Original Message-

Re: Split not visible in putty

2006-05-19 Thread Gerald Lai
On Fri, 19 May 2006, Sanjaya wrote: I searched the vim mailing list archive at http://marc.theaimsgroup.com/ regarding the problems I am having but couldn't find any related threads. This thread has a mention of your problem: http://www.webservertalk.com/archive295-2005-2-906323.html I got

Don't show pathnames in :buffer

2006-05-19 Thread Simon Pamies
Is there any possibility to not make the :buffers command show pathnames. It should only show filenames so that it is easier to know where to switch. Also it is sometimes annoying that completion also to complete paths and not files. Summary: No paths in :buffer - is that possible? Simon Pamies

Re: Vertical selection

2006-05-19 Thread Robert Cussons
Hi guys, I knew about the Ctrl-V with I command, but have never used it with A. So out of interest I just tried it, but it appends at the next point in front of the cursor, not at the end of the line, as I expected A to act, I guess this is because you are in some way taking the A command from

Re: Don't show pathnames in :buffer

2006-05-19 Thread Linxiao
If all your files are under the same directory, then just :cd %:h change into current buffer's directory, and :buffers will just list files' name under that directory. On 5/19/06, Simon Pamies <[EMAIL PROTECTED]> wrote: Is there any possibility to not make the :buffers command show pathnames.

Re: Don't show pathnames in :buffer

2006-05-19 Thread Simon Pamies
On 2006-05-19, Linxiao <[EMAIL PROTECTED]> wrote: > If all your files are under the same directory, then just Yes - thats the case right now. I've some lcd on BufEnter that does this thing automatically. But I want that behaviour for all files regardless of the directory I'm currently in. > >:cd

Help: The html file generated with the command :TOhtml doesn't look like the same as in VIM.

2006-05-19 Thread Japerlh
The html file generated with the command :TOhtml doesn't look like the same as in VIM. Seems like font information is lost. Is there anybody having any idea about that? Thanks. -- Besh wishes, Japerlh

Re: Vertical selection

2006-05-19 Thread Benji Fisher
On Fri, May 19, 2006 at 10:34:27AM +0200, Robert Cussons wrote: > Hi guys, > > I knew about the Ctrl-V with I command, but have never used it with A. > So out of interest I just tried it, but it appends at the next point in > front of the cursor, not at the end of the line, as I expected A to ac

RE: Split not visible in putty

2006-05-19 Thread Sanjaya
Gerald, Thank you so much for the help! -Original Message- From: Gerald Lai [mailto:[EMAIL PROTECTED] Sent: Friday, May 19, 2006 1:11 PM To: Sanjaya Cc: vim@vim.org Subject: Re: Split not visible in putty On Fri, 19 May 2006, Sanjaya wrote: > I searched the vim mailing list archive at

Re: Split not visible in putty

2006-05-19 Thread Benji Fisher
On Fri, May 19, 2006 at 12:38:26PM +0600, Sanjaya wrote: > In addition... > > rpm -qa | grep vi gives > > system-config-services-0.8.15-1 > gtksourceview-1.1.0-4 > device-mapper-1.00.19-2 > vim-minimal-6.3.035-3 [...] As Gerald Lai already said, the problem is that you have only vim-mi

RE: Split not visible in putty

2006-05-19 Thread Sanjaya
Thanks Benji. The rpms will help.. -Original Message- From: Benji Fisher [mailto:[EMAIL PROTECTED] Sent: Friday, May 19, 2006 6:03 PM To: vim@vim.org Subject: Re: Split not visible in putty On Fri, May 19, 2006 at 12:38:26PM +0600, Sanjaya wrote: > In addition... > > rpm -qa | grep vi

Re: Help: The html file generated with the command :TOhtml doesn't look like the same as in VIM.

2006-05-19 Thread Benji Fisher
On Fri, May 19, 2006 at 06:13:21PM +0800, Japerlh wrote: > The html file generated with the command :TOhtml doesn't look like the > same as in VIM. > Seems like font information is lost. > Is there anybody having any idea about that? > Thanks. This command :source's the file $VIMRUNTIME/synta

Re: Help: The html file generated with the command :TOhtml doesn't look like the same as in VIM.

2006-05-19 Thread Mark Woodward
Hi Japerlh, On Fri, 19 May 2006 18:13:21 +0800 Japerlh <[EMAIL PROTECTED]> wrote: > The html file generated with the command :TOhtml doesn't look like the > same as in VIM. > Seems like font information is lost. > Is there anybody having any idea about that? > Thanks. > > stick something like

Re: Tables.

2006-05-19 Thread Benji Fisher
On Thu, May 18, 2006 at 10:08:53PM -0400, cga2000 wrote: > > I was wondering if another approach such as using a markup language > that supports tables might not be preferable in the long run. What I > mean by this is that it might be a little more difficult to start off > with but might provide m

RE: CurorLine, set cursorline: slow, slower, slowest ?!

2006-05-19 Thread Zdenek Sekera
> -Original Message- > From: Meino Christian Cramer [mailto:[EMAIL PROTECTED] > Sent: 18 May 2006 18:43 > To: [EMAIL PROTECTED] > Cc: vim@vim.org > Subject: Re: CurorLine, set cursorline: slow, slower, slowest ?! > > From: "Yakov Lerner" <[EMAIL PROTECTED]> > Subject: Re: CurorLine, set c

Re: Split not visible in putty

2006-05-19 Thread A.J.Mechelynck
Benji Fisher wrote: On Fri, May 19, 2006 at 12:38:26PM +0600, Sanjaya wrote: In addition... rpm -qa | grep vi gives system-config-services-0.8.15-1 gtksourceview-1.1.0-4 device-mapper-1.00.19-2 vim-minimal-6.3.035-3 [...] As Gerald Lai already said, the problem is that you

Re: Vertical selection

2006-05-19 Thread Robert Cussons
Thanks for the tip Benji, just to make the difference between 'I' and 'A' in blockwise visual mode clear to anyone else who might be reading this and doesn't know, 'I' will always insert in the position immediately before the selected block, whilst 'A' will always insert in the position immedia

folding at squiggly brace level (javascript)

2006-05-19 Thread Kae Verens
Hi guys, with vim 6.3, I was able to nest folds using '{' and '}' as the delimiters (as seen here: http://verens.com/archives/2005/04/18/using-javascript-folds-in-vim/) Unfortunately, 6.4 doesn't like my attempts to do so. I can get it to fold after function([^{]*){ matches, but that's it.

Re: HTML editing with vim: where to start ?

2006-05-19 Thread Mikolaj Machowski
> my guess is :source $VIMRUNTIME/mswin.vim -- the script that cripples > Vim in a not-very-successful attempt to make it more Windows-like. WTF, > if you want a Windows-like editor, don't use Vim, use Notepad! IMHO > mswin.vim is better done without. Hey, it is not *that* bad :) m.

RE: Vertical selection

2006-05-19 Thread Suresh Govindachar
Robert Cussons wrote: > ... as Benji said, pressing '$' followed by 'A' whilst in > blockwise visual mode will insert at the end of each line. > Sorry if no-one else cares:-) Well, I knew about I and A, but $A was news to me! Thanks. --Suresh

Visual Block: $ vs. ^ inconsistency?

2006-05-19 Thread Suresh Govindachar
Hello, In visual block mode () one can get jagged right edges by hitting $. But hitting ^ does not result in jagged left edges. Why the inconsistency? Is it something in my set-up? Thanks, --Suresh

Re: Visual Block: $ vs. ^ inconsistency?

2006-05-19 Thread James Vega
On Fri, May 19, 2006 at 07:47:41AM -0700, Suresh Govindachar wrote: > In visual block mode () one can get jagged > right edges by hitting $. But hitting ^ does not > result in jagged left edges. Why the inconsistency? > Is it something in my set-up? The leftmost column of a line is alwa

Extending Vim7 with plugins

2006-05-19 Thread Robert Hicks
Is there some tutorial out there for a newbie starting with Vim7 to learn how to program for it? Robert

Re: Extending Vim7 with plugins

2006-05-19 Thread John Love-Jensen
Hi Robert, > Is there some tutorial out there for a newbie starting with Vim7 to > learn how to program for it? There's a general tutorial to get you started with Vim at: http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html I don't think it covers any Vim 7.0 features. And I don't

RE: Visual Block: $ vs. ^ inconsistency?

2006-05-19 Thread Suresh Govindachar
James Vega wrote: > On Fri, May 19, 2006 at 07:47:41AM -0700, Suresh Govindachar wrote: > >> In visual block mode () one can get jagged >> right edges by hitting $. But hitting ^ does not >> result in jagged left edges. Why the inconsistency? >> Is it something in my set

Re: Extending Vim7 with plugins

2006-05-19 Thread Meino Christian Cramer
From: John Love-Jensen <[EMAIL PROTECTED]> Subject: Re: Extending Vim7 with plugins Date: Fri, 19 May 2006 10:37:32 -0500 > Hi Robert, > > > Is there some tutorial out there for a newbie starting with Vim7 to > > learn how to program for it? > > There's a general tutorial to get you started with

Re: Saving over FTP with vim 7

2006-05-19 Thread Jo Valentine-Cooper
Excerpt of email dated 5/17/2006 16:50 from 'Charles E Campbell Jr <[EMAIL PROTECTED]>': Noah Sturr wrote: I'm having an issue saving a file open for edit using the ftp://host mechanism. The steps are: open gvim.exe from the Windows command line Hello! Please try my latest netrw; several

Re: HTML editing with vim: where to start ?

2006-05-19 Thread A.J.Mechelynck
Mikolaj Machowski wrote: my guess is :source $VIMRUNTIME/mswin.vim -- the script that cripples Vim in a not-very-successful attempt to make it more Windows-like. WTF, if you want a Windows-like editor, don't use Vim, use Notepad! IMHO mswin.vim is better done without. Hey, it is not *that*

Re: Extending Vim7 with plugins

2006-05-19 Thread Edward Wong
haha I like that Meino. :) The best way to learn scripting language is to read others. Choose some simple well known plugins. Vim help :help is always ur vim buddy. You can basically learn everything there. In addition, when your cursor is over a vim keyword, simply press and help opens the

Re: Extending Vim7 with plugins

2006-05-19 Thread A.J.Mechelynck
Robert Hicks wrote: Is there some tutorial out there for a newbie starting with Vim7 to learn how to program for it? Robert There is a "vim tutor" which comes with the Vim distribution. It's been so long since I used it that I don't remember what is and isn't included. Basically, each lin

Re: HTML editing with vim: where to start ?

2006-05-19 Thread George Reilly
"A.J.Mechelynck" <[EMAIL PROTECTED]> wrote: > Mikolaj Machowski wrote: > >> my guess is :source $VIMRUNTIME/mswin.vim -- the script that cripples > >> Vim in a not-very-successful attempt to make it more Windows-like. WTF, > >> if you want a Windows-like editor, don't use Vim, use Notepad! IMHO > >

Re: Extending Vim7 with plugins

2006-05-19 Thread Meino Christian Cramer
From: "Edward Wong" <[EMAIL PROTECTED]> Subject: Re: Extending Vim7 with plugins Date: Sat, 20 May 2006 00:36:11 +0800 Hi HTH, Thanks for the applaus! :O) IMHO the help files are only for those, who are know already, what they are searching for. A newbie gets hopelessly lost. Example: Q: W

Re: automatic gvim start and problems

2006-05-19 Thread Yakov Lerner
On 5/19/06, roberto <[EMAIL PROTECTED]> wrote: On 5/18/06, Yakov Lerner <[EMAIL PROTECTED]> wrote: > On 5/18/06, Yakov Lerner <[EMAIL PROTECTED]> wrote: > > On 5/18/06, roberto <[EMAIL PROTECTED]> wrote: > > > actually this is what happens: > > > it opens one window splitted in two, with half of

Re: Extending Vim7 with plugins

2006-05-19 Thread Yakov Lerner
On 5/19/06, Robert Hicks <[EMAIL PROTECTED]> wrote: Is there some tutorial out there for a newbie starting with Vim7 to learn how to program for it? The "Write a Vim script" tutorial is bundled with vim. You only need to know how to open it in vim. Here is how: :he usr_41 vim will open docum

Re: HTML editing with vim: where to start ?

2006-05-19 Thread Vinay Doma
A.J.Mechelynck wrote: Maybe I overreacted. OK, let's amend it: if you want a Windows-like editor, don't use Vim, use WordPad (in plaintext mode). I still won't recommend mswin.vim to anybody. But what about mswin.vim don't you like? All it has is a bunch of windows friendly mappings (Cut, Copy,

Re: HTML editing with vim: where to start ?

2006-05-19 Thread A.J.Mechelynck
Vinay Doma wrote: A.J.Mechelynck wrote: Maybe I overreacted. OK, let's amend it: if you want a Windows-like editor, don't use Vim, use WordPad (in plaintext mode). I still won't recommend mswin.vim to anybody. But what about mswin.vim don't you like? All it has is a bunch of windows friendly ma

Re: HTML editing with vim: where to start ?

2006-05-19 Thread Tim Chase
In the years I've been on this list, I don't count the number of times when newbies have come asking, in essence, "Why doesn't Vim behave as advertised?" and mswin.vim (which they unknowingly were sourcing in their vimrc) was the reason. Or the converse, where someone will ask "Why does vim beha

HTML omni completion not working

2006-05-19 Thread Adam Young
I am having trouble making the html autocomplete thing work in my vim 7. This is the error that I receive: "undefined variable b:html_omni" . Autocompletion for other languages (javascript, ruby, etc.) is working fine. Anyone have any tips? -- A.T. Young, B.Sc. Laplink Software / Antibody Design V

Re: Extending Vim7 with plugins

2006-05-19 Thread Robert Hicks
Yakov Lerner wrote: On 5/19/06, Robert Hicks <[EMAIL PROTECTED]> wrote: Is there some tutorial out there for a newbie starting with Vim7 to learn how to program for it? The "Write a Vim script" tutorial is bundled with vim. You only need to know how to open it in vim. Here is how: :he usr_4

Re: HTML editing with vim: where to start ?

2006-05-19 Thread Robert Hicks
A.J.Mechelynck wrote: Vinay Doma wrote: A.J.Mechelynck wrote: Maybe I overreacted. OK, let's amend it: if you want a Windows-like editor, don't use Vim, use WordPad (in plaintext mode). I still won't recommend mswin.vim to anybody. But what about mswin.vim don't you like? All it has is a bunch

Re: Extending Vim7 with plugins

2006-05-19 Thread Mikolaj Machowski
Dnia piątek, 19 maja 2006 19:07, Meino Christian Cramer napisał: > > IMHO the help files are only for those, who are know already, what > they are searching for. A newbie gets hopelessly lost. Not exactly. Newbie has to read whole Users Manual from the beginning to the end. There is no way to ju

Re: HTML omni completion not working

2006-05-19 Thread Mikolaj Machowski
Dnia piątek, 19 maja 2006 20:28, Adam Young napisał: > I am having trouble making the html autocomplete thing work in my vim > 7. This is the error that I receive: "undefined variable b:html_omni" > . Autocompletion for other languages (javascript, ruby, etc.) is > working fine. Anyone have any tip

RE: Extending Vim7 with plugins

2006-05-19 Thread Suresh Govindachar
Consider the following from Meino Christian Cramer: > Suppose your are starting to learn vim. You have learned to > edit text basically and to do some tricks to impress your > friends of the "World of Notepad" category. So nice so far. > > Now you want to delete all l

Re: Extending Vim7 with plugins

2006-05-19 Thread Meino Christian Cramer
From: Mikolaj Machowski <[EMAIL PROTECTED]> Subject: Re: Extending Vim7 with plugins Date: Fri, 19 May 2006 20:44:41 +0200 > Dnia piątek, 19 maja 2006 19:07, Meino Christian Cramer napisał: > > > > IMHO the help files are only for those, who are know already, what > > they are searching for. A n

Re: Extending Vim7 with plugins

2006-05-19 Thread Meino Christian Cramer
From: "Suresh Govindachar" <[EMAIL PROTECTED]> Subject: RE: Extending Vim7 with plugins Date: Fri, 19 May 2006 12:44:12 -0700 I am only wishing not to be urged to study electrotechnics before I will be able to change a light bulb. Nothing more, nothing less. mcc > > > Consider the followi

Re: Extending Vim7 with plugins

2006-05-19 Thread A.J.Mechelynck
Meino Christian Cramer wrote: From: Mikolaj Machowski <[EMAIL PROTECTED]> Subject: Re: Extending Vim7 with plugins Date: Fri, 19 May 2006 20:44:41 +0200 Dnia piątek, 19 maja 2006 19:07, Meino Christian Cramer napisał: IMHO the help files are only for those, who are know already, what

Re: Extending Vim7 with plugins

2006-05-19 Thread A.J.Mechelynck
Meino Christian Cramer wrote: From: "Suresh Govindachar" <[EMAIL PROTECTED]> Subject: RE: Extending Vim7 with plugins Date: Fri, 19 May 2006 12:44:12 -0700 I am only wishing not to be urged to study electrotechnics before I will be able to change a light bulb. Nothing more, nothing less. mcc

Re: Extending Vim7 with plugins

2006-05-19 Thread Yakov Lerner
On 5/19/06, Meino Christian Cramer <[EMAIL PROTECTED]> wrote: I am only wishing not to be urged to study electrotechnics before I will be able to change a light bulb. On the glass-full side, it looks like you learned already to operate the light switch. That's good. Are you asking now how many

Re: Extending Vim7 with plugins

2006-05-19 Thread A.J.Mechelynck
Yakov Lerner wrote: On 5/19/06, Meino Christian Cramer <[EMAIL PROTECTED]> wrote: I am only wishing not to be urged to study electrotechnics before I will be able to change a light bulb. On the glass-full side, it looks like you learned already to operate the light switch. That's good. whahah

Re: Extending Vim7 with plugins

2006-05-19 Thread Gerald Lai
On Fri, 19 May 2006, Meino Christian Cramer wrote: [snip] IMHO the help files are only for those, who are know already, what they are searching for. A newbie gets hopelessly lost. The help files are very extensive. Because of this, it has to cover each topic in a brief, accurate and concise wa

Re: Extending Vim7 with plugins

2006-05-19 Thread Steve Hall
From: Mikolaj Machowski <[EMAIL PROTECTED]>, May 19, 2006 2:44 PM > Dnia pi?tek, 19 maja 2006 19:07, Meino Christian Cramer napisa?: > > > > IMHO the help files are only for those, who are know already, what > > they are searching for. A newbie gets hopelessly lost. > > Not exactly. Newbie has to

vim7: elflord got different

2006-05-19 Thread Jabba Laci
Hi, After an update to vim7 on Linux Debian I had to remark that the elflord color schema looks different than before. I also installed vim7 on a Windows machine, there is no change there. Did you have similar experience? How could I get back the "old" elflord? Thanks,

Re: Extending Vim7 with plugins

2006-05-19 Thread A.J.Mechelynck
Steve Hall wrote: From: Mikolaj Machowski <[EMAIL PROTECTED]>, May 19, 2006 2:44 PM Dnia pi?tek, 19 maja 2006 19:07, Meino Christian Cramer napisa?: IMHO the help files are only for those, who are know already, what they are searching for. A newbie gets hopelessly lost. Not exac

RE: Visual Block: $ vs. ^ inconsistency?

2006-05-19 Thread Gerald Lai
On Fri, 19 May 2006, Suresh Govindachar wrote: James Vega wrote: > On Fri, May 19, 2006 at 07:47:41AM -0700, Suresh Govindachar wrote: > >> In visual block mode () one can get jagged >> right edges by hitting $. But hitting ^ does not >> result in jagged left edges. Why the incon

Re: vim7: elflord got different

2006-05-19 Thread A.J.Mechelynck
Jabba Laci wrote: Hi, After an update to vim7 on Linux Debian I had to remark that the elflord color schema looks different than before. I also installed vim7 on a Windows machine, there is no change there. Did you have similar experience? How could I get back the "old" elflord? Thanks

Re: folding at squiggly brace level (javascript)

2006-05-19 Thread Gerald Lai
On Fri, 19 May 2006, Kae Verens wrote: Hi guys, with vim 6.3, I was able to nest folds using '{' and '}' as the delimiters (as seen here: http://verens.com/archives/2005/04/18/using-javascript-folds-in-vim/) Unfortunately, 6.4 doesn't like my attempts to do so. I can get it to fold after f

Re: Tables.

2006-05-19 Thread cga2000
On Fri, May 19, 2006 at 08:22:40AM EDT, Benji Fisher wrote: > On Thu, May 18, 2006 at 10:08:53PM -0400, cga2000 wrote: > > > > I was wondering if another approach such as using a markup language > > that supports tables might not be preferable in the long run. What I > > mean by this is that it mi

Re: Extending Vim7 with plugins

2006-05-19 Thread Steve Hall
On Sat, 2006-05-20 at 00:21 +0200, A.J.Mechelynck wrote: > Steve Hall wrote: > > > > My personal experience was starting with just these two pages: > > > > :help options.txt > > :help eval.txt > > the two largest, excluding those which merely list changes between > versions. Not easy to read from A

Re: Tables.

2006-05-19 Thread Gary Johnson
On 2006-05-19, cga2000 <[EMAIL PROTECTED]> wrote: > On Fri, May 19, 2006 at 08:22:40AM EDT, Benji Fisher wrote: > > On Thu, May 18, 2006 at 10:08:53PM -0400, cga2000 wrote: > > > > > > I was wondering if another approach such as using a markup language > > > that supports tables might not be prefe

Re: Tables.

2006-05-19 Thread Hari Krishna Dara
On Thu, 18 May 2006 at 10:08pm, cga2000 wrote: > On Thu, May 18, 2006 at 08:23:00AM EDT, Benji Fisher wrote: > > On Wed, May 17, 2006 at 07:50:08PM -0700, Suresh Govindachar wrote: > > > > > > cga2000 wrote: > > > > > > > But I was not thinking of these tab stops.. > > > > more in the line of

html auto completion

2006-05-19 Thread Vu The Cuong
I'm new to vim and I tried a couple of hours to make html auto - completion feature to work. But had no result. Could anyone tell me how to config vim to turn on html auto - completion? BR