Text Editor?

Not to start a Christian vs Muslim vs Buddhist vs Bruce Lee vs Tyson vs Rambo vs Ghandi in their prime debate, but should I use Vim or Emacs? Right now I just do simple html, css, javascript, php on gedit but want to expand to other languages later on. A few people have told me to start learning those now so I can slowly build up my power level.

I’ve tried a bit of Vim and it seems most of it’s power is in normal mode and that it will require molesting my esc key quite a bit to take advantage of. Insert mode doesn’t seem all that great, at least out of the box. Is there even an undo in insert mode? I’ve also noticed tabbing multiple lines require ctrl > and ctrl < for backwards tabbing. So far it seems I need to frequently attack keys in the corner to make use of this editor.

I have yet to try emacs, but I hear I need twenty fingers to use it.

Now to spice up this ageless, endless war spanning longer than Stallman’s beard, what would you recommend if I had foot pedals with mappable pedals? It’ll also be neat to have a stick shift to go into multiple modes or something. Will having a stick shift be useful? I’d code to the Initial D soundtrack.

You forgot Elvis](https://build.opensuse.org/package/show?package=Elvis&project=home%3Aplease_try_again) in this Titans combat. You should use vim. … obviously! lol!

  • Don’t use Elvis. It’s too old. I just thought I could add “him” to your list… somewhere between Tyson and Rambo.

“kate”.

I love kate too, but kate doesn’t work in the console, the OP already uses gedit, which is simpler but as usable.

mcedit can be used in the console or withing any terminal window, like vi(m) en emacs… For Emacs IME you need to have quite some free RAM in your head for all the shortcuts, it’s got a bit of a steep learning curve. But admitted, I grew up with vi, when I first worked with emacs, I already knew vi as the sole editor we had on a UNIX system, do in no time I did in vi, what I was supposed to use emacs for. Today I use kate for everyday text file editting, vim for “terminal editting operations”.

Yes. (Couldn’t resist).

Personally, I use “vi” which is really “vim”. Over the years, I have used many text editors. vi/vim is the best.

Try a google search for “vi cheat sheet”. You will probably find one that you can print out. While getting used to it, that cheat sheet can be a great aid.

For some tasks better done with a GUI editor, I use kwrite.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Agreed with all others posted so far, and what’s another reason? vim/vi
is there by default when, in my experience, few others are (of course
including command-line only setups). People seem to shun it because
it’s not a braindead type-and-it-shows-up-and-that’s-all-it-does text
editor that they’re used to, but it’ll always be there and it’ll often
be the most powerful text editor around. I’ve only used emacs a little
bit and it’s definitely no slouch but I like vim more.

For those wanting to learn: vimtutor (run from the command line).

Good luck.


Want to yell at me in person?
Come to BrainShare 2011 in October: http://tinyurl.com/brainshare2011
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOc9O0AAoJEF+XTK08PnB5D4kP/3tZ6uf2wjBCyslGkP6CbqZQ
fjQbfOqGwNwPeE/foF6WJ6ff4az3ZxjoDEcQPV/pe/eRS8C4oYVhKGDObMSDbSZO
se1OQMiHeGB3UCYt+LEL6xKfgLtgaH2WrKM5yiKpXGQLDw/C2KAFqBUeXiuclgkn
bmlsQ8sNtY+0AcEYSLawsIrz7aNArVjY62h6Br9Puth7YAlrrIEaqFAMP28xAyb7
AvLddgDET9SZAJE1o9lCoPCiJSNH7g92sPOTGDvfa7TfbaCwKxNF13zbC7adRaXA
2RQDD3zmzMGj+6ckPWd49tSUrT/tqEp2CRIcaUpxN9qtgNkcTRpvSMtJafuhK5vT
L2HvqxoxB/YBUYwo1zI+A1+GbZeXYYwLylNGnwaz4HegOWYPcGEOwO1OM+3LupFh
l2CbF5RpDfGTXC75j/T1ai3XPfjTfBgHwMQ8lQxAD/4OR1FmIpwGFii/kG2Cg+il
VTTVoj0HCjbSvs/GWuG8XqmCMMVC1qLHfrUs7vCxG9HRYfnax6lwmtt08grzFZmN
YFopanRYk3+VY9wzFV/v1zvglmtq+cHsZybZWhZYIne/Y4euwYti0RL2cZbuepBx
YYHBOYPiAMrMnlWXSypE6kF8AP3Zpl+ZdJNSW5N9TYLilbUNJa0iKYHS7tPstnLr
XGSP2oqsgC8APCqN1Mtk
=ePa9
-----END PGP SIGNATURE-----

Any decent programmer can pick up a new editor in a week* and a new language in a month. Learn them all. :wink:

  • More like a minute in the case of simple editors like nano.

Is that a challenge? Sounds like a challenge.

Challenge accepted.

Sounds like a joke IMO. The last decent programmer must have retired several years ago, and nano has become the default editor on more an more Linux distros. And I’m certainly too stupid to use it and keep pressing escape … but to escape what? … that’s the question (maybe voice recognition on my tricorder). :frowning:

If you want to use the same editor with multiple languages, then vim is the best in console mode and kate in gui mode; so the choice really comes down to choice of mode rather than choice of editor.

What about gvim?

On 09/16/2011 09:46 PM, cheese whiz0 wrote:
>
> I’ve tried a bit of

as always, try a lot and use what works (and feels ‘comfortable’ to you)

for me, i do most terminal needs in mc, and GUI needs in kwrite (for
text) and bluefish (for html)…but, i used most of the others
mentioned to date here, and some others too…

and, not to miss: my needs are simple and i’d rather have an array of
separate things easy for the task at hand, rather than one thing that
morphs from job to job…like emacs which i must admit is smarter than
i am!

but, as for vim, i always avoid it if at all possible (because 9 times
out of ten the only way for me to exit it is a reboot!!)


DD
openSUSE®, the “German Automobiles” of operating systems

While looking for an old vi joke I stumbled across this. It’s a howl.

How the vi editor would seem if it has been made by Microsoft (Marigan’s Weblog)

I’ll track down that other joke and post again.

LMSO. Thanks a lot Ken, this one’s spot on.

On 2011-09-17 14:02, DenverD wrote:
> but, as for vim, i always avoid it if at all possible (because 9 times out
> of ten the only way for me to exit it is a reboot!!)

Common! The first time, yes, reboot, but the second time you read the
manual first :-p


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

On 2011-09-16 21:46, cheese whiz0 wrote:
>
> Not to start a Christian vs Muslim vs Buddhist vs Bruce Lee vs Tyson vs
> Rambo vs Ghandi in their prime debate, but should I use Vim or Emacs?

Me, I prefer those editors similar to the ancient wordstar. Like joe in
jstar mode. Why? Because wordstar was designed for blind typing, ie, fast
and easy access to commands.

(It is the editor used by the Borland IDE, and thus by its followers, like
Lazarus)


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

>
> arkascha;2384875 Wrote:
>> “kate”.
>
Knurpht wrote:
> I love kate too, but kate doesn’t work in the console, the OP already
> uses gedit, which is simpler but as usable.
>
> mcedit can be used in the console or withing any terminal window, like
> vi(m) en emacs… For Emacs IME you need to have quite some free RAM in
> your head for all the shortcuts, it’s got a bit of a steep learning
> curve. But admitted, I grew up with vi, when I first worked with emacs,
> I already knew vi as the sole editor we had on a UNIX system, do in no
> time I did in vi, what I was supposed to use emacs for. Today I use kate
> for everyday text file editting, vim for “terminal editting operations”.

Everything right.
Just more one thing, since I personally think this is important:
Using “kate” you chose an editor that is used more and more as the embedded
edit component in IDEs and stuff. This means that once you got familiar with
it you wont have to re-adapt when chosing some other tool.
Certainly these tools are limited to a KDE desktop.

arkascha

> ‘How the vi editor would seem if it has been made by Microsoft
> (Marigan’s Weblog)’

i’ve heard others talk about that paperclip, but not run into one
myself…i count that as good luck!


DD
openSUSE®, the “German Automobiles” of operating systems

> wordstar.

that is IT! i’ve been trying to remember what i used before
WordPerfect…it was wordstar, ctrl+b was bold, +i italic, +u underline,
+p print, +s save, +x exit…fast and simple

but nowhere near wysiwyg…


DD
openSUSE®, the “German Automobiles” of operating systems

Dang the wordstar I used had dot commands for formating… I had a
Toshiba 286 luggable back in 1989, as well as using MS Project for DOS
hooked up to a dot matrix printer for the gantt charts.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.7-desktop
up 4 days 18:11, 4 users, load average: 0.34, 0.15, 0.14
GPU GeForce 8600 GTS Silent - Driver Version: 280.13