LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   site created by vim (https://www.linuxquestions.org/questions/linux-general-1/site-created-by-vim-86928/)

ashesh 08-29-2003 07:02 AM

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?

trickykid 08-29-2003 08:23 AM

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.

darthtux 08-29-2003 10:56 AM

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

MasterC 08-29-2003 11:33 AM

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

darthtux 08-29-2003 11:39 AM

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

seabass55 08-29-2003 11:53 AM

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

nonamenobody 08-29-2003 07:32 PM

[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).

green_dragon37 08-29-2003 07:57 PM

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

2damncommon 08-29-2003 08:38 PM

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.

MasterC 08-29-2003 08:46 PM

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

darthtux 08-29-2003 10:14 PM

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


All times are GMT -5. The time now is 08:27 PM.