PDA

View Full Version : Editor Flamewar (Vim is the best)



LaRoza
June 25th, 2008, 03:08 AM
One more besides Emacs and Vim is Nano. Its the easiest to use of the three.

(nano is with pico on this scale)

It has nothing to do with being "easy".

http://bc.tech.coop/blog/images/curves.jpg

Alasdair
June 25th, 2008, 03:08 AM
Do not listen to the vim users and their lies! Emacs is the one true editor! Why use irrsi when Emacs is the best IRC client there is? Emacs also makes a great web-browser, and you could probably hack up a twitter-mode pretty quick. Plus with shell-mode on offer, you'd never need to leave Emacs at all - 30 days of Emacs I say!

loell
June 25th, 2008, 03:11 AM
Funny that, I haven't ever gotten nano to successfully save a file. VIM is easy.


sometimes simpler things are easily overlooked. :D

ctrl + o

klange
June 25th, 2008, 03:12 AM
Funny that, I haven't ever gotten nano to successfully save a file. VIM is easy.

+1 for FINCH
+1 for screen (this one is a lifesaver)

... did you type Ctrl+X, type a name, and hit enter... or Ctrl+O? Exiting Nano will prompt you to save any changes. It's pretty simple for me. When I'm looking for a no-frills editor, I use Nano. If I'm looking for extras, I look towards a GUI.

smartboyathome
June 25th, 2008, 03:13 AM
Funny that, I haven't ever gotten nano to successfully save a file. VIM is easy.

+1 for FINCH
+1 for screen (this one is a lifesaver)

Just use sudo nano /patch/to/file, and then control+x, and press y and enter to save the file if it is outside of your ownership, do the same without the sudo if it is in your ownership.

Funny thing is, I never could get VIM to work properly. VIM just made everything funky, and its hard to get used to.

LaRoza
June 25th, 2008, 03:13 AM
Do not listen to the vim users and their lies! Emacs is the one true editor! Why use irrsi when Emacs is the best IRC client there is? Emacs also makes a great web-browser, and you could probably hack up a twitter-mode pretty quick. Plus with shell-mode on offer, you'd never need to leave Emacs at all - 30 days of Emacs I say!

It isn't an editor. Read your post again, this person intends to use Linux, not Windows/OS X/Emacs.

If the OP wanted a bloated OS, then I would recommend Emacs, but for an OS + editor combo, Linux + Vim.

LaRoza
June 25th, 2008, 03:14 AM
http://www.mysmiley.net/imgs/smile/sign/sign0083.gif

smartboyathome
June 25th, 2008, 03:15 AM
It isn't an editor. Read your post again, this person intends to use Linux, not Windows/OS X/Emacs.

If the OP wanted a bloated OS, then I would recommend Emacs, but for an OS + editor combo, Linux + Vim.

lol, emacs isn't all that bloated, it is just many things in one. Its just for another person's taste. Try them all and see which one you like. I can pretty much guarentee it will be nano. :p

undertakingyou
June 25th, 2008, 03:20 AM
... did you type Ctrl+X, type a name, and hit enter... or Ctrl+O? Exiting Nano will prompt you to save any changes. It's pretty simple for me. When I'm looking for a no-frills editor, I use Nano. If I'm looking for extras, I look towards a GUI.

yeah, but how is that easier that :wq?

smartboyathome
June 25th, 2008, 03:23 AM
yeah, but how is that easier that :wq?

It is for me, because I don't like having to remember the 50 million options that Vim provides, plus vim has a funky way of entering stuff and backspacing etc.

LaRoza
June 25th, 2008, 03:24 AM
lol, emacs isn't all that bloated, it is just many things in one. Its just for another person's taste. Try them all and see which one you like. I can pretty much guarentee it will be nano. :p

I guess we have different definitions of "bloated". "many things in one" IS bloated.

http://hackles.org/strips/cartoon92.png

http://hackles.org/strips/cartoon93.png

LaRoza
June 25th, 2008, 03:25 AM
yeah, but how is that easier that :wq?

:wq? isn't an option. :wq is, and you can use the "!" to force it.

ad_267
June 25th, 2008, 03:28 AM
Ed is the standard editor. http://www.gnu.org/fun/jokes/ed.msg.html

Alasdair
June 25th, 2008, 03:29 AM
Emacs has several mail modes, I'm pretty sure rmail should be installed by default. Just type M-x rmail from within emacs.

LaRoza
June 25th, 2008, 03:30 AM
Ed is the standard editor. http://www.gnu.org/fun/jokes/ed.msg.html

Figures, someone always brings that up.

Now I will finish the game.

I use butterflies.

(But in the end, Vim is unquestionably the best editor. Anyone willing to dispute this will be...dealt with :evil:)

LaRoza
June 25th, 2008, 03:33 AM
Thread separated from original.

zmjjmz
June 25th, 2008, 03:43 AM
I'll just stick to nano and gedit kthx.

chucky chuckaluck
June 25th, 2008, 03:48 AM
"nano, nano!"

http://www.teamestrogen.com/images/products/GI-WNGLSILV-LOBK_xlg.jpg

ad_267
June 25th, 2008, 03:51 AM
Figures, someone always brings that up.

Someone had to. Seriously though, it's got to be vim.

Lostincyberspace
June 25th, 2008, 04:42 AM
wow this is the best flamewar I have seen in a long time Keep it up.

cardinals_fan
June 25th, 2008, 06:04 AM
Those learning curves are very accurate. Notepad has very little to learn, Pico has a little more, Visual Studio destroys your mind if used for extended periods of time, Vi/vim is vertical at first, but easy after you learn it, and Emacs is completely psychotic. Kind of like Ion... :twisted:

LaRoza
June 25th, 2008, 06:05 AM
Those learning curves are very accurate. Notepad has very little to learn, Pico has a little more, Visual Studio destroys your mind if used for extended periods of time, Vi/vim is vertical at first, but easy after you learn it, and Emacs is completely psychotic. Kind of like Ion... :twisted:

Yeah, the more you use Emacs, the less you can use it (because it is customized so much the default Emacs is unknown again)

-grubby
June 25th, 2008, 06:43 AM
Kate FTW!!! /me dunks from all the CLI editor users

LaRoza
June 25th, 2008, 06:44 AM
Kate FTW!!! /me dunks from all the CLI editor users

http://www.mysmiley.net/imgs/smile/sign/sign0006.gif

http://www.mysmiley.net/imgs/smile/sign/sign0024.gif

schauerlich
June 25th, 2008, 07:10 AM
http://www.mysmiley.net/imgs/smile/sign/sign0006.gif

http://www.mysmiley.net/imgs/smile/sign/sign0024.gif

O NOES! Not Nathangrubb!

-grubby
June 25th, 2008, 07:12 AM
O NOES! Not Nathangrubb!

YAY!! People defending me against the evils of Laroza

LaRoza
June 25th, 2008, 07:18 AM
YAY!! People defending me against the evils of Laroza

http://www.freesmileys.org/smileys/alien003.gif

http://www.mysmiley.net/imgs/smile/sign/sign0106.gif

RiceMonster
June 25th, 2008, 07:36 AM
Vim, no contest. Nano doesn't have the functionality, and emacs... I don't see why I need to be able to play tetris with a text editor.

schauerlich
June 25th, 2008, 07:37 AM
http://www.freesmileys.org/smileys/alien003.gif

http://www.mysmiley.net/imgs/smile/sign/sign0106.gif

I can't seem to find that .gif where the admin kicks a user in the face and the mod cheers him on, but I meant to post it here...

-grubby
June 25th, 2008, 07:51 AM
I can't seem to find that .gif where the admin kicks a user in the face and the mod cheers him on, but I meant to post it here...

I've got it!

conehead77
June 25th, 2008, 09:24 AM
I use butterflies.

http://imgs.xkcd.com/comics/real_programmers.png

MONODA
June 25th, 2008, 09:42 AM
yeah, but how is that easier that :wq?
or just :x I love vim. I use vim for all my typing, I even use it to type in text boxes on the web with kazehakase. I also use it to type up my documents with the LaTeX plugin. i also love folds.

samjh
June 25th, 2008, 12:21 PM
I used Emacs for a semester, then forgot how to use it one week after it finished.

Vim for the win! (Hah, it rhymes!)

:popcorn:

Barrucadu
June 25th, 2008, 12:26 PM
I generally use Gedit, but between Vi/Vim and Emacs, I prefer Emacs. In fact, I'm just removing Gedit and installing Emacs now :)

LaRoza
June 25th, 2008, 06:20 PM
I generally use Gedit, but between Vi/Vim and Emacs, I prefer Emacs. In fact, I'm just removing Gedit and installing Emacs now :)

O rly?

I am removing a certain user from the forum...

</joking>

I like using Gedit with the terminal plugin, you can use Vim from within Gedit!

cardinals_fan
June 25th, 2008, 08:12 PM
If somebody wanted an alternative OS complete with games, psychiatrist, and everything else, then I'd wholeheartedly recommend Emacs. As a text editor... not so much.

Barrucadu
June 25th, 2008, 08:19 PM
O rly?

I am removing a certain user from the forum...
Please, no your borgness! It's only a matter of time before I try Vim anyway - I get bored very fast.

spupy
June 25th, 2008, 08:19 PM
I like Geany! :twisted:

EDIT: Look at screenshot, doh!



.

Dr Small
June 25th, 2008, 08:23 PM
Please, no your borgness! It's only a matter of time before I try Vim anyway - I get bored very fast.
Lol. :D
I am a strong vim user, and use it for ALL of my text editing. I don't even own a GUI text editor, and I think I removed nano..

Dr Small

cardinals_fan
June 25th, 2008, 08:25 PM
I like Geany! :twisted:
Geany is a fine IDE, but as a text editor? Not for me...

nrs
June 25th, 2008, 08:31 PM
Christians should contemplate using a less blasphemous editor, lest they be damned for all eternity. Consider: VI VI VI

LaRoza
June 25th, 2008, 08:31 PM
Christians should consider using a less blasphemous editor, lest they be damned for all eternity. Consider: VI VI VI

Emacs is a religion: http://www.dina.kvl.dk/~abraham/religion/

Christians shouldn't use such things.

nrs
June 25th, 2008, 08:36 PM
Emacs is a religion: http://www.dina.kvl.dk/~abraham/religion/

Christians shouldn't use such things.

Vi is a cult. Being recognized as a religion, it has some aura of legitimacy.

spupy
June 25th, 2008, 08:37 PM
Geany is a fine IDE, but as a text editor? Not for me...

Didn't you see the screenshot I attached? :)

Barrucadu
June 25th, 2008, 09:27 PM
I... I'm sorry, I just comitted a terrible atrocity. See the attached screenshot...

ad_267
June 25th, 2008, 09:42 PM
I... I'm sorry, I just comitted a terrible atrocity. See the attached screenshot...

Uh oh. Your computer is going to explode now.

Barrucadu
June 25th, 2008, 09:47 PM
I know. I closed it very quickly and performed an exorcism on the computer, but I'm not sure if it was enough. It's also gone all cloudy suddenly - it's connected!

days_of_ruin
June 25th, 2008, 10:12 PM
Vi is a cult. Being recognized as a religion, it has some aura of legitimacy.
-1:mad:

Dr Small
June 25th, 2008, 10:49 PM
-2

Lostincyberspace
June 25th, 2008, 11:18 PM
I use scite for a text editor for programing since it has syntax highlighting and I have been using it for years because it is portable.

raul_
June 25th, 2008, 11:34 PM
vim FTW

Emacs is a great OS, only lacking a good text editor :popcorn:

cardinals_fan
June 25th, 2008, 11:59 PM
Didn't you see the screenshot I attached? :)
I didn't see what you were doing. That's an abomination! No mixing text editors!

I... I'm sorry, I just comitted a terrible atrocity. See the attached screenshot...
What's wrong with that? You're running Vim, the ultimate editor, inside a perfectly good OS, Emacs.

doorknob60
June 28th, 2008, 03:17 AM
Nano is a lifesaver when I get stuck without a GUI. I used to only know about vim, and I screwed up so many config files that way :D Nano works fine for everything I need, and I don't want to have to waste my time learning vim or emacs when nano does everything the way I'm used to it :) Vim is confusing, and emacs had to download like 80 megs of crap :lolflag: It's a text editor, WTF? I use Kate sometimes too, but nano is still ownage.

Pogeymanz
June 28th, 2008, 04:33 AM
Aw darn... I use emacs...:oops:

I thinks all of its extra stuff is fun, but I don't use most of it.

I find emacs a much more intuitive and useful text-editor than all the ones with "regular" key-combos, like notepad, gedit, geany, etc.

I'm impressed and frightened by vi, unfortunately. Can someone explain why vi is so great? I use emacs only because it's what everyone I work with uses, so they taught me some tricks with it.

cardinals_fan
June 28th, 2008, 04:38 AM
I'm impressed and frightened by vi, unfortunately. Can someone explain why vi is so great? I use emacs only because it's what everyone I work with uses, so they taught me some tricks with it.
Once you learn the vim key combos, it's amazing how many shortcuts you can take. Editing with vim is fast, simple, and clean.

chewearn
June 28th, 2008, 05:07 AM
What's a vim, and how does it differs from vi ?

ad_267
June 28th, 2008, 05:21 AM
What's a vim, and how does it differs from vi ?

vim is Vi IMproved.

From wikipedia:

Features and improvements over vi

Vim is almost fully vi compatible when in compatible mode, but Vim has many enhancements over vi which may or may not be available in compatible mode.[8]

Some of those enhancements include completion, comparison and merging of files (known as vimdiff), a comprehensive integrated help system, extended regular expressions, scripting languages (both native and through alternative scripting interpreters such as Perl, Python, Ruby, Tcl, etc.) including support for plugins, a graphical user interface (known as gvim), limited integrated development environment-like features, mouse interaction (both with and without the GUI), folding, editing of compressed or archived files in gzip, bzip2, zip, and tar format and files over network protocols such as SSH, FTP, and HTTP, session state preservation, spell checking, split (horizontal and vertical) and tabbed windows, unicode and other multi-language support, syntax highlighting, trans-session command, search, and cursor position histories, multiple level undo/redo history, and visual mode.

While vi was traditionally only available on Unix operating systems, Vim is very portable; there are versions for AmigaOS (the initial target platform), Atari MiNT, BeOS, MS-DOS, Microsoft Windows 95/98/Me/NT/2000/XP/Server 2003/Vista/Server 2008, IBM OS/2 and OS/390, MorphOS, OpenVMS, QNX, RISC OS, Unix, Linux, BSD, Mac OS and Mac OS X, etc.[9]
[edit]

chewearn
June 28th, 2008, 05:30 AM
vim is Vi IMproved.

From wikipedia:


Ah so. Thanks for the explanation.

vi is text editor and little else. vim is more like a programming ide. Got it.

Saint Angeles
June 28th, 2008, 05:45 AM
gedit


all the way

p_quarles
June 28th, 2008, 06:19 AM
vi is text editor and little else.
Blasphemy!

That's like saying "water is a liquid, and little else." While both are true, the dismissive tone is highly misleading. Both Vi and water are necessary for life as we know it.

toupeiro
June 28th, 2008, 06:23 AM
I learned emacs before vi(m), but once I learned vi(m), I never looked back. I even have vi(m) embedded into my tcsh shell

wrtpeeps
June 28th, 2008, 06:27 AM
If I ever have gui problems and need to be editing files, then I look no further than nano.

Other than that, gedit!

mrgnash
June 28th, 2008, 09:53 AM
Gedit or nano. Vim is too weird.

Tigershell
June 28th, 2008, 11:21 AM
Another for nano... :KS

qazwsx
June 28th, 2008, 03:32 PM
echo "my text file">textfile
sed is one nice for fixing

:lolflag:


OK kate(parts) for me. nano for cli usage

Mazza558
June 28th, 2008, 03:59 PM
Microsoft Word FTW!

...*hides*

moore.bryan
June 28th, 2008, 04:17 PM
+1 scite

dizee
June 28th, 2008, 04:42 PM
Nano is the only one I can make sense of. Not that I do much editing through the terminal anyway, we're not all programmers you know. :D

zmjjmz
June 28th, 2008, 04:43 PM
Programmers use Notepad++
(it runs perfectly in WINE)

RiceMonster
June 28th, 2008, 04:56 PM
Programmers use Notepad++
(it runs perfectly in WINE)

I'd use that if I were using Windows. It's a good editor.

InfinityCircuit
June 28th, 2008, 05:51 PM
I use vim. I used to be a strug user who just knew a few commands, but then I read vi for smarties and was hooked. I have read about ten percent of vim-doc but i can already do so much stuff in it. Bootstrapping Gentoo with only nano is so hard!

Barrucadu
June 28th, 2008, 05:52 PM
Programmers use Notepad++
(it runs perfectly in WINE)
It does? I really liked that editor and missed it greatly when i first switched.

Frak
June 28th, 2008, 05:53 PM
I use Notepad++ on everything now.

sujoy
June 28th, 2008, 06:05 PM
vim ftw.

LaRoza
June 28th, 2008, 06:29 PM
Microsoft Word FTW!

...*hides*

Not worth hiding, that is so silly no one is going to take that seriously ;)

klange
June 28th, 2008, 06:34 PM
It does? I really liked that editor and missed it greatly when i first switched.

Should work fine. Used to be a bit slow, but that was a long time ago...
It's too bad Notepad++ is so connected to the Win32 API that it can't be directly ported.

Frak
June 28th, 2008, 06:35 PM
Not worth hiding, that is so silly no one is going to take that seriously ;)
lol

I can see the compiler right now

&fontspace - make [3] not a recognized function
make [1] exiting

LaRoza
June 28th, 2008, 06:44 PM
Should work fine. Used to be a bit slow, but that was a long time ago...
It's too bad Notepad++ is so connected to the Win32 API that it can't be directly ported.

It is based on the same thing as Scite: http://en.wikipedia.org/wiki/Scintilla_(editing_component)

klange
June 28th, 2008, 06:53 PM
It is based on the same thing as Scite: http://en.wikipedia.org/wiki/Scintilla_(editing_component)

Hm? I'm simply referencing something said by the original author a while ago on the site. The rest of the app, outside the actual editor, is highly tied to the Win32 api.