Purchase Linux CDs / DVDs / Flash Drives at OSDisc.com

Welcome to Our Community

While Linux.org has been around for a while, we recently changed management and had to purge most of the content (including users). If you signed up before April 23rd please sign up again. Thanks!

  1. Kennedy Projects is proud to maintain and host Linux.org. Please contact us for any Linux or hosting related services if you find yourself in a jam. - Rob / KennedyProjects.com
    Dismiss Notice

Poll: Favorite Text Editor

Discussion in 'Command Line' started by Rob, Apr 24, 2017.

?

Favorite Text Editor

  1. vi/vim

    72 vote(s)
    49.3%
  2. emacs

    11 vote(s)
    7.5%
  3. nano

    26 vote(s)
    17.8%
  4. pico

    9 vote(s)
    6.2%
  5. other

    28 vote(s)
    19.2%
  1. Rob

    Rob Administrator
    Staff Member

    Joined:
    Oct 27, 2011
    Messages:
    177
    Likes Received:
    505
    Yep, didn't waste any time posting up this poll! An all-time favorite within *nix communities!

    Which text editor do you go to most? Why?


     
  2. Rob

    Rob Administrator
    Staff Member

    Joined:
    Oct 27, 2011
    Messages:
    177
    Likes Received:
    505
    I chose vim because I work on a wide range of servers and I know vi/vim is going to be on there.
     
  3. Scotsgeek

    Scotsgeek Moderator
    Staff Member

    Joined:
    Apr 24, 2017
    Messages:
    9
    Likes Received:
    18
    And the VI vs Emacs war begins! ;)
     
  4. ryanvade

    ryanvade Moderator
    Staff Member

    Joined:
    Apr 24, 2017
    Messages:
    28
    Likes Received:
    25
    Is echo, grep, and RegEX an option?
     
    NightsLast likes this.
  5. atanere

    atanere Moderator
    Gold Supporter

    Joined:
    Apr 6, 2017
    Messages:
    550
    Likes Received:
    430
    I planted firmly in the "other" category! :p

    What I hope I mean by that is... I think I can use just about anything put in front of me. And I'm equally slow in all of them. :D
     
    chalana, NightsLast and Rob like this.
  6. JasKinasis

    JasKinasis Active Member

    Joined:
    Apr 25, 2017
    Messages:
    110
    Likes Received:
    173
    I'm primarily a vim user, but I am happy to use whatever editor comes to hand if need be.
    I have committed heresy recently and started using Spacemacs for maintaining TODO lists using emacs org-mode. With vim keybindings of course! The vim keybindings make the emacs experience a lot nicer for me. The Spacemacs shortcuts are kinda handy too.

    But for 99% of text editing I still use vim. I don't really use anything much in the way of plugins either - pretty much vanilla vim, with a few custom keybinds added to my .vimrc to allow me to deal with re-organising/switching buffers and tabs, enabling/disabling spell-checking etc.
     
    Rob likes this.
  7. VP9KS

    VP9KS Active Member

    Joined:
    Apr 29, 2017
    Messages:
    179
    Likes Received:
    111
    I kinda like Kate.
     
  8. brevis

    brevis New Member

    Joined:
    Aug 12, 2017
    Messages:
    4
    Likes Received:
    9
    I think this are best choices for linux user :D
     
    NightsLast likes this.
  9. Steppenwolf

    Steppenwolf Gold Member
    Gold Supporter

    Joined:
    Jul 17, 2017
    Messages:
    2
    Likes Received:
    4
    I use vim because it's fast, powerful, and I know it best. I do like playing with other editors, though, some favorites being emacs and sublime.
     
  10. brevis

    brevis New Member

    Joined:
    Aug 12, 2017
    Messages:
    4
    Likes Received:
    9
    Why Vim has taken more vote than Emacs? Someone could me explain it?

    Edit: spelling
     
    #10 brevis, Sep 12, 2017
    Last edited: Sep 12, 2017
  11. Scotsgeek

    Scotsgeek Moderator
    Staff Member

    Joined:
    Apr 24, 2017
    Messages:
    9
    Likes Received:
    18
    Though i dont agree. vi/vim is more popular than emacs.

    They just don't underatand how powerful and customizable emacs is! ;^)

    Here come the flames! ;^)
     
  12. Rob

    Rob Administrator
    Staff Member

    Joined:
    Oct 27, 2011
    Messages:
    177
    Likes Received:
    505
    For me, it's about what's going to be installed on every box I touch. I know vi/vim will, but on CentOS, i've found that i've had to specifically install emacs for developers in the past.
     
  13. Scotsgeek

    Scotsgeek Moderator
    Staff Member

    Joined:
    Apr 24, 2017
    Messages:
    9
    Likes Received:
    18
    I have root access to all the Linux systems I need to access. emacs is installed on all, and can be used either as a gui or command line.

    I believe, Nano and/or other simple editors are usually installed by default on most Linux Distros, and would be simpler to use for beginners than vi/vim. A command line, dual mode editor is hard to get used to, and drives me crazy. I would only use vi/vim if nano (Or others) or emacs, were not available. Rob and I will have to agree to disagree! ;^)
     
    VP9KS and Rob like this.
  14. iodisciple

    iodisciple New Member

    Joined:
    Sep 8, 2017
    Messages:
    23
    Likes Received:
    12
    I absolutely love vi and use only that. In the beginning it's all a bit strange and counter-intuitive but when you get the hang of it, its is awesome. Yanking a couple of lines here, placing them there, deleting from the current cursor position until the end of the file, etc. I guess I'm a real geek now ;-)
     
    VP9KS and Steppenwolf like this.
  15. VP9KS

    VP9KS Active Member

    Joined:
    Apr 29, 2017
    Messages:
    179
    Likes Received:
    111
    Yes! Wear the geek label proudly.:D:D
     
    iodisciple likes this.
  16. VP9KS

    VP9KS Active Member

    Joined:
    Apr 29, 2017
    Messages:
    179
    Likes Received:
    111
    No Flames Here.:)
     
  17. NightsLast

    NightsLast New Member

    Joined:
    Nov 14, 2017
    Messages:
    22
    Likes Received:
    16
    would a redirected cat output be an editor also?
     
    JasKinasis likes this.
  18. JasKinasis

    JasKinasis Active Member

    Joined:
    Apr 25, 2017
    Messages:
    110
    Likes Received:
    173
    Yes, you can use cat as a simple editor if you do this:
    Code:
     cat > /path/to/nameoffile
    Then cat will continuously read input from stdin (the keyboard) and write it to a file - until you press ctrl+d.

    NOTE: The above would write the file from scratch, so if the file already exists - it will be completely overwritten with whatever you type.

    Or this would append whatever you type to the end of an existing file:
    Code:
    cat >> nameoffile 
    
     
    NightsLast likes this.
  19. vega

    vega New Member

    Joined:
    Nov 27, 2017
    Messages:
    2
    Likes Received:
    2
    Can you give most used/needed commands of Vi/Vim?
     
  20. JasKinasis

    JasKinasis Active Member

    Joined:
    Apr 25, 2017
    Messages:
    110
    Likes Received:
    173
    There are loads of cheat-sheets available online for vim.
    Here's a page with several good ones on it:
    https://rumorscity.com/2014/08/16/5-best-vim-cheat-sheet/

    All of the cheat-sheets on the linked page contain the most commonly used vi/vim commands.

    Also, if you have the full version of vim installed, you can use the command:
    Code:
    vimtutor
    to access a tutorial which will walk you through basic vim usage.
     
    vega, VP9KS, NightsLast and 1 other person like this.

Share This Page