Page 2 of 2 [ 20 posts ]  Go to page Previous  1, 2


What's your favorite Linux text editor?
vi 0%  0%  [ 0 ]
vim 40%  40%  [ 10 ]
pico 0%  0%  [ 0 ]
nano 4%  4%  [ 1 ]
mcedit 4%  4%  [ 1 ]
Emacs/XEmacs 12%  12%  [ 3 ]
Kate/KEdit/KWrite 16%  16%  [ 4 ]
Gedit 16%  16%  [ 4 ]
elvis 0%  0%  [ 0 ]
jed/joe 4%  4%  [ 1 ]
Other 4%  4%  [ 1 ]
I don't know / I don't mind such a stupid thing 0%  0%  [ 0 ]
Total votes : 25

lau
Veteran
Veteran

User avatar

Joined: 17 Jun 2006
Age: 77
Gender: Male
Posts: 9,798
Location: Somerset UK

20 Apr 2008, 10:32 am

Jonny wrote:
How do I get syntax highlighting for HTML?

I've no idea.

Have you considered using Nvu/KompoZer instead?
http://www.nvu.com/


_________________
"Striking up conversations with strangers is an autistic person's version of extreme sports." Kamran Nazeer


Jonny
Velociraptor
Velociraptor

User avatar

Joined: 9 Feb 2005
Gender: Male
Posts: 440
Location: London

20 Apr 2008, 11:18 am

its :set syntax=on

I like text editing HTML, so Ill stick with Vim. NVU is more like Dreamweaver isn't it?



lau
Veteran
Veteran

User avatar

Joined: 17 Jun 2006
Age: 77
Gender: Male
Posts: 9,798
Location: Somerset UK

20 Apr 2008, 12:54 pm

Jonny wrote:
its :set syntax=on

I like text editing HTML, so Ill stick with Vim. NVU is more like Dreamweaver isn't it?

It always seems to choose the wrong colours, so I'm more familiar with doing ":set synax=off".

Nvu/KompoZer allows you to edit WYSIWYG, with tags, or plain text. Single click to switch between each of the three modes.

I tend to jiggle between modes, as I see fit, then break out to vim when I need some complex pattern matched search&replace things. Finally, I'll write C programs for some sorts of mass edits.


_________________
"Striking up conversations with strangers is an autistic person's version of extreme sports." Kamran Nazeer


Jonny
Velociraptor
Velociraptor

User avatar

Joined: 9 Feb 2005
Gender: Male
Posts: 440
Location: London

20 Apr 2008, 1:54 pm

Cool 8)

Since I am new to Vim, what kind of clever things do people do with it here?