Page 1 of 3 123 LastLast
Results 1 to 10 of 26

Thread: Text Editor?

  1. #1
    Join Date
    Dec 2010
    Location
    CA
    Posts
    26

    Default 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.

  2. #2

    Default Re: Text Editor?

    Quote Originally Posted by cheese_whiz0 View Post
    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?
    You forgot Elvis in this Titans combat. You should use vim. .. obviously!

    * Don't use Elvis. It's too old. I just thought I could add "him" to your list... somewhere between Tyson and Rambo.

  3. #3
    arkascha NNTP User

    Default Re: Text Editor?

    "kate".

  4. #4
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,793
    Blog Entries
    14

    Default Re: Text Editor?

    Quote Originally Posted by arkascha View Post
    "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".
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  5. #5
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,495
    Blog Entries
    3

    Default Re: Text Editor?

    Quote Originally Posted by cheese_whiz0 View Post
    ..., but should I use Vim or Emacs?
    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.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  6. #6

    Default Re: Text Editor?

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

  7. #7
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: Text Editor?

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

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

  8. #8
    Join Date
    Dec 2010
    Location
    CA
    Posts
    26

    Default Re: Text Editor?

    Quote Originally Posted by ken_yap View Post
    Any decent programmer can pick up a new editor in a week* and a new language in a month. Learn them all.

    * More like a minute in the case of simple editors like nano.
    Is that a challenge? Sounds like a challenge.

    Challenge accepted.

  9. #9

    Default Re: Text Editor?

    Quote Originally Posted by cheese_whiz0 View Post
    Is that a challenge? Sounds like a challenge.
    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).

  10. #10
    Join Date
    Jun 2008
    Location
    West Yorkshire, UK
    Posts
    3,448

    Default Re: Text Editor?

    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.

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •