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