Linux - GeneralThis 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.
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.
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.
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.
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
[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).
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.
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.