Unix/Linux Go Back    


Open Source Open source oftware (OSS) is computer software with source code available with a license. The OSS copyright holder provides anyone the rights to read, modify, and distribute the software for any purpose.

What editor does everyone use?

Open Source


Tags
learn unix, linux, linux commands, regex, regular expressions, shell script, shell scripting, solaris, unix commands, unix scripting, unix scripting basics

Poll: What is your preferred text editor?
Poll Options
What is your preferred text editor?

Reply    
 
Thread Tools Search this Thread Display Modes
    #393  
Old Unix and Linux 06-13-2015
derekludwig derekludwig is offline
Registered User
 
Join Date: Mar 2010
Last Activity: 29 January 2017, 7:31 PM EST
Location: Albany, NY
Posts: 180
Thanks: 8
Thanked 50 Times in 43 Posts
When I started, there were a few editors to choose from: ed for unix, edt for vms, and an ibm 129 for the big iron.

Then came ex and vi.
Emacs is fun, especially for lisp.

I still use vi, but occasionally butterflies - https://xkcd.com/378 Linux
The Following User Says Thank You to derekludwig For This Useful Post:
Don Cragun (08-04-2015)
Sponsored Links
    #394  
Old Unix and Linux 02-16-2016
Umbert Vohiden Umbert Vohiden is offline
Registered User
 
Join Date: Feb 2016
Last Activity: 16 February 2016, 3:02 AM EST
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Emacs is great for major scripting, with the edt emulation mode.
I use ed (old school) or vi/vim for editing for smaller edits.
Sponsored Links
    #395  
Old Unix and Linux 06-08-2016
azurite azurite is offline
Registered User
 
Join Date: Apr 2016
Last Activity: 7 July 2017, 12:35 AM EDT
Posts: 18
Thanks: 1
Thanked 0 Times in 0 Posts
Seems like Vi(m) is the popular choice. Any suggestions on what is friendly for a beginner?
    #396  
Old Unix and Linux 07-12-2016
bakunin bakunin is offline Forum Staff  
Bughunter Extraordinaire
 
Join Date: May 2005
Last Activity: 20 October 2017, 9:15 AM EDT
Location: In the leftmost byte of /dev/kmem
Posts: 5,612
Thanks: 106
Thanked 1,598 Times in 1,176 Posts
Quote:
Originally Posted by azurite View Post
Seems like Vi(m) is the popular choice. Any suggestions on what is friendly for a beginner?
My suggestion is to use vi, no matter what. It is true, the first few weeks will be hard. But stay with it, grit your teeth and learn all these nifty movement commands and all the neat tricks and - after a few weeks - you will finally come to the point where you wonder why vi isn't everywhere. vi may be "love at third sight", but once you get the hang of it you will appreciate its raw power.

To me (once i was a professional musician before becoming a failed existence in IT) it was like learning an instrument: the first few weeks are awful, there are muscles hurting you didn't even know to exist and you think it is impossible to ever get something out of that damn thing, but, after much practice, you finally ascend a podium and rock the audience! This was worth the effort. I'd never trade the power of vi for any other editor whatsoever.

bakunin
Sponsored Links
    #397  
Old Unix and Linux 04-25-2017
Neo's Unix or Linux Image
Neo Neo is offline Forum Staff  
Administrator
 
Join Date: Sep 2000
Last Activity: 20 October 2017, 1:59 PM EDT
Location: Asia pacific region
Posts: 13,771
Thanks: 892
Thanked 1,219 Times in 569 Posts
I always use VI when working on a unix or linux system doing either sys admin tasks, or software development tasks.

This is especially important since most all tasks above are done remotely. However, even on my local MacOS system, I still tend to use VI more often than not, on those types of tasks.
Sponsored Links
    #398  
Old Unix and Linux 04-25-2017
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 20 October 2017, 3:09 PM EDT
Location: Saskatchewan
Posts: 22,469
Thanks: 1,143
Thanked 4,262 Times in 3,936 Posts
Quote:
Originally Posted by azurite View Post
Seems like Vi(m) is the popular choice.
vi is difficult to avoid sometimes. You may never love it the way people who learned on it did; it's very much not a 21st-century program, designed for printing terminals and a keyboard which no longer exists. But it's very useful to know the basics, because there's a vim or a vi everywhere.

vi-hater's cheat sheet for vi:
  • i: Stop beeping at me and enter writing mode you stupid program
  • esc-:-w-q-enter: Save and quit
  • esc-:-q-!-enter: Quit without saving
  • esc-d-d: Delete a line because backspace isn't good enough for you
  • esc-esc-esc: what in the world are you doing now, quit it, stop doing that
The Following 2 Users Say Thank You to Corona688 For This Useful Post:
Don Cragun (04-25-2017), rbatte1 (04-25-2017)
Sponsored Links
    #399  
Old Unix and Linux 05-24-2017
cb88 cb88 is offline
Registered User
 
Join Date: May 2017
Last Activity: 26 August 2017, 11:32 PM EDT
Posts: 13
Thanks: 0
Thanked 1 Time in 1 Post
Quote:
Originally Posted by Corona688 View Post
vi is difficult to avoid sometimes. You may never love it the way people who learned on it did; it's very much not a 21st-century program, designed for printing terminals and a keyboard which no longer exists. But it's very useful to know the basics, because there's a vim or a vi everywhere.

vi-hater's cheat sheet for vi:
  • i: Stop beeping at me and enter writing mode you stupid program
  • esc-:-w-q-enter: Save and quit
  • esc-:-q-!-enter: Quit without saving
  • esc-d-d: Delete a line because backspace isn't good enough for you
  • esc-esc-esc: what in the world are you doing now, quit it, stop doing that
Haha, yes ... The only time I use vi is when installing NetBSD occasionaly on some of my old hardware for kicks. But it is ubiquitous... its hard to find a Nix install without some version of it. Also that keyboard has Ctrl in the right place... non the abominable caps lock key.

nano or pico are the go to console editors for me... and I have strangely fond memories of edit in a DOS prompt, which I suppose is part of why I like the minimum profit editor...
http://triptico.com/img/mp-5-curses.png

I've been using the atom editor (quite bloaty honestly)... but it integrates pretty decently with a dozen plus microcontroller toolchains as well as libraries for tons of things like the little LoRa boards I have been experimenting with.
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
ED editor Lakerfan UNIX for Dummies Questions & Answers 2 04-07-2011 08:44 PM
Vi editor jazz Programming 2 05-08-2009 08:46 AM
Epic Editor was not able to obtain a license for your use. Feature Epic Editor :Licen durgaprasadr13 Solaris 1 10-13-2008 07:39 AM
set EDITOR=vi -> default editor not setting for cron tab aarora_98 Shell Programming and Scripting 6 09-13-2008 02:01 AM
Pasting text in VI editor from a different editor harishmitty UNIX for Dummies Questions & Answers 10 09-10-2008 06:22 PM



All times are GMT -4. The time now is 04:00 PM.