LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-29-2003, 07:02 AM   #1
ashesh
Member
 
Registered: Feb 2003
Location: Kharagpur
Distribution: RH8, RH9, FC2
Posts: 112

Rep: Reputation: 15
site created by vim


Why are so many people using "Vim" to create their websites?

Why don't they use otehr editors like kate, gedit, etc... Even these don't create the junk text that Fronpage editors create?

I have also observed that many sites created by Vim, don't use tables and do not have many pictures in their websites... what could the reason be?
 
Old 08-29-2003, 08:23 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Why care what others use? If some prefer to use vi or vim to write their html, then I say go for it. I do alot of my editing in vi, quick, simple and gets the job done. Plus my server I host my sites on doesn't have a gui so I prefer to use vi myself when editing from a command line.
 
Old 08-29-2003, 10:56 AM   #3
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
There are a lot of system admins out there who are viewing web pages from the command-line using the lynx browser (and some people just like its speed). Tables make the formatting in a text browser look awkward. That's why some people don't use them.

I like vim's speed and syntax highlighting. Being able to do that on a black background is easy on the eyes.
 
Old 08-29-2003, 11:33 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
HTML is a little more easy on the brain than some config files, but for me, for the most part, I tend to use vi to edit things to maintain the consitency of a line. For example:
Let's say this line is an option in a config file, it's all on one line, and is read by the application as such

Now this line
would be looked at
by some applications
as multiple options, even
though it's really
only 1 line.

Some text editors, when they do autowrapping, screw up your config's unless you specifically take the measures necessary to fix the autowrap bit. Vi(m) doesn't have that problem as it autowraps for your eyes, but in reality, doesn't autowrap in the actual config file.

I tend to edit my webpages with Vim pretty much for the same reason Tricky does, it's a remote box, so building in a gui (easily) is out of the question, unless I wanna get all elaborate and start FTP'ing everything to my box instead of ssh'ing and things like that.

Also, saying that you built your website with Vi(m) is quite an accomplishment considering there is no autotext completion, no assistance, no mouse (assuming no gvim ) and so on. It's raw cut code. Impressive to see sometimes.

Pictures have nothing to do with HTML writing, well, not directly anyway. Yes, you have img code and all, but what I mean is that choosing to use pictures on your website isn't effected in anyway with the HTML editor you choose to use. As noted above, it's img code, not actual picture building, so I think you are probably just finding that websites that state "Created By Vim" are simply more created for text reasons than that of pretty pictures to detract from the essence of knowledge.



Cool
 
Old 08-29-2003, 11:39 AM   #5
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
Have you ever tried to edit a page that had been created with a program such as Netscape Composer, Front Page or Dreamweaver? They screw up the formatting so bad. It's easier to start it in a text editor. That way you can make changes in any text editor and know what you're seeing
 
Old 08-29-2003, 11:53 AM   #6
seabass55
Member
 
Registered: Jan 2003
Location: 127.0.0.1
Distribution: Fedora&Gentoo
Posts: 207

Rep: Reputation: 30
Formatting is nice and easy. Can move to any OS and still edit it the same way I saw it at home.

 
Old 08-29-2003, 07:32 PM   #7
nonamenobody
Member
 
Registered: Oct 2002
Posts: 138

Rep: Reputation: 22
[feedingTheTroll] I use vim because it is the quickest, easiest to use and most well designed text editor ever created.

>> Why don't they use otehr editors like kate, gedit, etc...

Why would they? Don't get me wrong KATE and GEdit are nice editors, but they are hardly vim.[/feedingTheTroll]

>> I tend to edit my webpages with Vim pretty much for the same reason Tricky does, it's a remote box, so building in a gui (easily) is out of the question, unless I wanna get all elaborate and start FTP'ing everything to my box instead of ssh'ing and things like that.

Why would you need to FTP instead of, if you have SSH installed on the server surely you would to SCP/SFTP the files. Quant Plus is quite a good web development tool, it supports SCP transfers, however the text editor is quite slow and painful to use (it is as bad as KATE of GEdit) I believe they have plans for a KPart which will allow you to edit files as thought you were in vim (which should make it a lot easier to use).
 
Old 08-29-2003, 07:57 PM   #8
green_dragon37
Member
 
Registered: Oct 2002
Location: Lower Alabama
Distribution: Slackware, OpenBSD 3.9
Posts: 344

Rep: Reputation: 31
Well for one, I use alot of PHP, so the syntax highlighting is nice, and I have mine set to show line numbers, so when I get PHP errors, I can go right to the line pointed out as wrong, and fix it very quickly!

Also, I created my current site with vim, and it has lots of tables, and a few images.

Ian
 
Old 08-29-2003, 08:38 PM   #9
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
Besides the actual editing features available in VI that someone proficient in them can use, I find the size of my self created HTML (with Nano) to be 1/2 to 1/3 the size of that created by the old Star Office 5.2 and just what I want.
 
Old 08-29-2003, 08:46 PM   #10
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Quote:
Originally posted by nonamenobody
Why would you need to FTP instead of, if you have SSH installed on the server surely you would to SCP/SFTP the files.
True, but again, along the same lines, why add to the complication? I've got to ssh in and then scp files somewhere, overwrite things, hope nothing bad happens..

OR

I ssh in, edit the files with vim, and I'm done...

Cool
 
Old 08-29-2003, 10:14 PM   #11
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
I like to use gedit when editing multiple files at the same time. But when I do, I am always inserting a :w
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Just created a Debian web portal site and it need some good content. ExCIA General 15 06-05-2007 03:15 AM
encryption with Vim (vim -x) mikshaw Linux - Software 2 03-07-2007 09:00 AM
Do you know sourceforge site? How to upload to this site? TruongAn General 2 07-02-2005 05:26 AM
If I created a SuSe Forum on my Linux Site would you use it? lewt Linux - Distributions 4 09-25-2003 10:02 PM
vsftp site to site mr.bienzle Linux - Software 0 01-13-2003 10:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration