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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-29-2003, 07:02 AM
|
#1
|
|
Member
Registered: Feb 2003
Location: Kharagpur
Distribution: RH8, RH9, FC2
Posts: 112
Rep:
|
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?
|
|
|
|
08-29-2003, 08:23 AM
|
#2
|
|
Guru
Registered: Jan 2001
Posts: 24,128
Rep: 
|
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.
|
|
|
|
08-29-2003, 10:56 AM
|
#3
|
|
Senior Member
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070
Rep:
|
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. 
|
|
|
|
08-29-2003, 11:33 AM
|
#4
|
|
Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,611
Rep:
|
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
|
|
|
|
08-29-2003, 11:39 AM
|
#5
|
|
Senior Member
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070
Rep:
|
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 
|
|
|
|
08-29-2003, 11:53 AM
|
#6
|
|
Member
Registered: Jan 2003
Location: 127.0.0.1
Distribution: Fedora&Gentoo
Posts: 207
Rep:
|
Formatting is nice and easy. Can move to any OS and still edit it the same way I saw it at home.
http://members.tccoa.com/seabass55/vi.gif
|
|
|
|
08-29-2003, 07:32 PM
|
#7
|
|
Member
Registered: Oct 2002
Posts: 138
Rep:
|
[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).
|
|
|
|
08-29-2003, 07:57 PM
|
#8
|
|
Member
Registered: Oct 2002
Location: Lower Alabama
Distribution: Slackware, OpenBSD 3.9
Posts: 344
Rep:
|
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
|
|
|
|
08-29-2003, 08:38 PM
|
#9
|
|
Senior Member
Registered: Feb 2003
Location: Calif, USA
Distribution: Linux Mint 12
Posts: 2,838
Rep:
|
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.
|
|
|
|
08-29-2003, 08:46 PM
|
#10
|
|
Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,611
Rep:
|
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
|
|
|
|
08-29-2003, 10:14 PM
|
#11
|
|
Senior Member
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070
Rep:
|
I like to use gedit when editing multiple files at the same time. But when I do, I am always inserting a :w

|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:17 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|