HTML editing with vim: where to start ?

2006-05-16 Thread Ivan Vecerina
Hi, I'm pretty new to Vim, but went through several tutorials, quick references, a number of help pages, and briefly through the Vim book. I also hear announcements about Vim7's enhanced built-in support for HTML editing. I even tried to play a bit with the auto-completion (got some 'completion

Re: HTML editing with vim: where to start ?

2006-05-16 Thread A.J.Mechelynck
Ivan Vecerina wrote: [...] For example, here are a few simple things I need to do all the time: [...] - get vim to automatically close/complete the innermost previously opened tag. [...] see the closeag.vim plugin, http://vim.sourceforge.net/scripts/script.php?script_id=13 Bst regards,

Re: HTML editing with vim: where to start ?

2006-05-16 Thread Gerald Lai
On Tue, 16 May 2006, Ivan Vecerina wrote: Hi, I'm pretty new to Vim, but went through several tutorials, quick references, a number of help pages, and briefly through the Vim book. I also hear announcements about Vim7's enhanced built-in support for HTML editing. I even tried to play a bit with

Re: HTML editing with vim: where to start ?

2006-05-17 Thread John Love-Jensen
Hi Ivan, > The FAQ contains some obscure information that goes beyond your average > Vim cheat sheet. For the aforementioned average Vim cheat sheet... http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html --Eljay

Re: HTML editing with vim: where to start ?

2006-05-17 Thread Mikolaj Machowski
Dnia wtorek, 16 maja 2006 14:17, Ivan Vecerina napisał: > - get vim to automatically close/complete the innermost previously > opened tag. What do you mean automatically?. You can do: inoremap > Other things I don't know how to find is: how do I make sure that VIM > finds the CSS associated wi

Re: HTML editing with vim: where to start ?

2006-05-17 Thread Mikolaj Machowski
Dnia wtorek, 16 maja 2006 18:37, A.J.Mechelynck napisał: > Ivan Vecerina wrote: > [...] > > > For example, here are a few simple things I need to do all the time: > > [...] > > - get vim to automatically close/complete the innermost previously > > opened tag. > > [...] > > see the closeag.vim plug

Re: HTML editing with vim: where to start ?

2006-05-17 Thread Ivan Vecerina
"Mikolaj Machowski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] : Dnia wtorek, 16 maja 2006 14:17, Ivan Vecerina napisa³: : > - get vim to automatically close/complete the innermost previously : > opened tag. : : What do you mean automatically?. You can do: : : inoremap That's a

Re: HTML editing with vim: where to start ?

2006-05-17 Thread Ivan Vecerina
"Gerald Lai" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] : On Tue, 16 May 2006, Ivan Vecerina wrote: : You could read Bram Moolenaar's : "Seven Habits of Effective Text Editing" at: : http://www.moolenaar.net/habits.html A very good read indeed. : I think using matchit is o

RE: HTML editing with vim: where to start ?

2006-05-17 Thread David Fishburn
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Ivan Vecerina > Sent: Tuesday, May 16, 2006 8:17 AM > To: vim@vim.org > Subject: HTML editing with vim: where to start ? > > Hi, > I'm pretty new to Vim, but went through several tuto

RE: HTML editing with vim: where to start ?

2006-05-17 Thread David Fishburn
> -Original Message- > From: Mikolaj Machowski [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 17, 2006 6:57 AM > To: vim@vim.org > Subject: Re: HTML editing with vim: where to start ? > > Dnia wtorek, 16 maja 2006 18:37, A.J.Mechelynck napisał: &g

Re: HTML editing with vim: where to start ?

2006-05-18 Thread Mikolaj Machowski
Dnia czwartek, 18 maja 2006 03:49, David Fishburn napisał: > > Since Ivan mentioned he is using PHP with his HTML, closetag will be > very useful for him. PHP/HTML/XML omni-completion mixes *extremely* well :) m.

Re: HTML editing with vim: where to start ?

2006-05-18 Thread Mikolaj Machowski
Dnia środa, 17 maja 2006 22:27, Ivan Vecerina napisał: > "Mikolaj Machowski" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > : Dnia wtorek, 16 maja 2006 14:17, Ivan Vecerina napisał: > : > - get vim to automatically close/complete the innermost previously > : > opened tag. > : >

Re: HTML editing with vim: where to start ?

2006-05-18 Thread A.J.Mechelynck
Mikolaj Machowski wrote: Dnia środa, 17 maja 2006 22:27, Ivan Vecerina napisał: "Mikolaj Machowski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] [...] [ I would never have fould this by chance, c-x does "cut" by default on my install... ] :behave mswin? [...]

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: 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: 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: 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

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