What's your favorite CLI text editor?
Forum rules
Do not post support questions here. Before you post read the forum rules. Topics in this forum are automatically closed 6 months after creation.
Do not post support questions here. Before you post read the forum rules. Topics in this forum are automatically closed 6 months after creation.
What's your favorite CLI text editor?
I'm curious, what's your favorite command line text editor, or which one do you use the most?
I personally prefer GNU nano, it's easy to use and lists most of the shortcuts at the bottom. I'm considering to learn to use a more powerful editor like Vim this summer, tough.
Please, don't use this topic to start a text editor war. The reason I made this topic is because I would like to know the most used command line text editor among Linux Mint users.
I personally prefer GNU nano, it's easy to use and lists most of the shortcuts at the bottom. I'm considering to learn to use a more powerful editor like Vim this summer, tough.
Please, don't use this topic to start a text editor war. The reason I made this topic is because I would like to know the most used command line text editor among Linux Mint users.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: What's your favorite CLI text editor?
I usually use "vi", having gone thru its learning curve years ago, for a GUI editor "leafpad".
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Your data and OS are backed up....right?
- slipstick
- Level 6
- Posts: 1071
- Joined: Sun Oct 21, 2012 9:56 pm
- Location: Somewhere on the /LL0 scale
Re: What's your favorite CLI text editor?
Only nano. I edit from the CL so seldom that I can't justify the time or effort to learn vim or emacs.
In theory, theory and practice are the same. In practice, they ain't.
Re: What's your favorite CLI text editor?
I picked other. I'm using micro: https://micro-editor.github.io/. It's like nano but on steroids
I used slap editor in the past (it's a CLI sublime like editor) but development of that was abandoned 2 years ago. micro is a nice improvement over nano. Just download the Linux tar.gz file, extract the micro file and put it in a bin directory in your path.
I used slap editor in the past (it's a CLI sublime like editor) but development of that was abandoned 2 years ago. micro is a nice improvement over nano. Just download the Linux tar.gz file, extract the micro file and put it in a bin directory in your path.
Re: What's your favorite CLI text editor?
How did you overcome its learning curve? Did you use a web tutorial? Or it was enough to read the manpage and put it into practice?
Yeah, I've heard of slap, but I never gave it a try because I have never used Sublime Text (yes, I'm not joking. Even if you can use it without a license) so I don't need an editor based on it.xenopeek wrote: ⤴Thu May 03, 2018 4:29 am I picked other. I'm using micro: https://micro-editor.github.io/. It's like nano but on steroids
I used slap editor in the past (it's a CLI sublime like editor) but development of that was abandoned 2 years ago. micro is a nice improvement over nano. Just download the Linux tar.gz file, extract the micro file and put it in a bin directory in your path.
I once tried Micro, I was amazed how easy to install it was. But for some reason I preferred to stick with nano... I will consider to install it again one day. However, I must say micro gets an unexplainable amount of hate because it's written in Go.
Re: What's your favorite CLI text editor?
It was back when Unix was new and I didn't have any choice! Switching back-and-forth between vi and regular "text box" editing, like this forum or leafpad, can sometimes be ... interesting.
This is reminding me of the first on-screen text editor I ever saw, on an IBM 370 (360?), because it was such a big step up from punch cards.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Your data and OS are backed up....right?
Re: What's your favorite CLI text editor?
I think at the time I switched to Micro I was exploring Go so that's how I may have ended up on it; looking for what people were writing in Go.
Currently trying to get into Rust and that already led me down the same path to some new programs on my system
- exa, ls with better use of colors https://the.exa.website/
- ripgrep, lighting fast grep https://github.com/BurntSushi/ripgrep/b ... /README.md
- fd, improved find https://github.com/sharkdp/fd/blob/master/README.md
- bat, cat with syntax highlighting and git support https://github.com/sharkdp/bat/blob/master/README.md
I learned it back in the day on Unix machines. Didn't have anything else so just had to muddle through it.
Re: What's your favorite CLI text editor?
Oh, well. I guess being the only choice is also a reason to learn it.
I never have seen the original Unix. In fact, I never have tried anything different from GNU/Linux apart from Windows (like FreeBSD or Solaris). I first switched from Windows XP to Ubuntu in 2009 until 2012 for three reasons: I hated (and still hate) Unity with a passion, the Ubuntu community wasn't very begginer-friendly back then (at least that was my experience) and I let others influence me about Linux saying that it was harder than Windows, that Linux would never be a replacement for Windows, etc. But that will never happen again.
I don't know why, but my desire to learn Vi is increasing greatly.
Re: What's your favorite CLI text editor?
I also had to learn vi for Unix in the 80s but I've blissfully forgotten how to use it . Now I use leafpad.
For every complex problem there is an answer that is clear, simple, and wrong - H. L. Mencken
- Portreve
- Level 13
- Posts: 4870
- Joined: Mon Apr 18, 2011 12:03 am
- Location: Within 20,004 km of YOU!
- Contact:
Re: What's your favorite CLI text editor?
I use nano here. I've really never seen the point in anything else unless you're actually writing code, in which case emacs and vi are I assume the best of breed.
When I'm editing a text file (which is to say, a configuration file) I want to get into and out of it as efficiently and unencumbered-ly as possible.
When I'm editing a text file (which is to say, a configuration file) I want to get into and out of it as efficiently and unencumbered-ly as possible.
Flying this flag in support of freedom 🇺🇦
Recommended keyboard layout: English (intl., with AltGR dead keys)
Podcasts: Linux Unplugged, Destination Linux
Also check out Thor Hartmannsson's Linux Tips YouTube Channel
Recommended keyboard layout: English (intl., with AltGR dead keys)
Podcasts: Linux Unplugged, Destination Linux
Also check out Thor Hartmannsson's Linux Tips YouTube Channel
- Arch_Enemy
- Level 6
- Posts: 1491
- Joined: Tue Apr 26, 2016 3:28 pm
Re: What's your favorite CLI text editor?
We had a French exchange student come to work at my company and he made up a quick web page for internal use to submit news and messages to the employees. I asked him what web page editor he used.
"VIM" was his answer!
PS: Whoever came up with vi in the first place back in the day must have also had a Hewlett-Packard calculator...
I have travelled 37629424162.9 miles in my lifetime
One thing I would suggest, create a partition as a 50G partition as /. Partition the rest as /Home. IF the system fails, reinstall and use the exact same username and all your 'stuff' comes back to you.
One thing I would suggest, create a partition as a 50G partition as /. Partition the rest as /Home. IF the system fails, reinstall and use the exact same username and all your 'stuff' comes back to you.
Re: What's your favorite CLI text editor?
For those who want to get their feet wet with Vi/Vim this helps quite a bit.
http://www.openvim.com/tutorial.html
http://www.openvim.com/tutorial.html
- Fred Barclay
- Level 12
- Posts: 4185
- Joined: Sat Sep 13, 2014 11:12 am
- Location: USA primarily
Re: What's your favorite CLI text editor?
Vi or vim for me. But I rarely use it, usually only when initially setting up Arch and I need to edit /etc/hosts or something. Otherwise it's usually pluma or Atom for me.
Poor old Emacs doesn't have any votes yet.
Poor old Emacs doesn't have any votes yet.
Re: What's your favorite CLI text editor?
This is the tutorial I'm using, it's very understandable and well-written. I can now see why Vim is said to be more powerful than CLI text editor like Nano, and I've got to say it's not that hard. Sure, there are things like the movement with thetimapple wrote: ⤴Mon May 07, 2018 8:32 pm For those who want to get their feet wet with Vi/Vim this helps quite a bit.
http://www.openvim.com/tutorial.html
h
, j
, k
and l
keys which are odd and hard to get used to, but after 6 days following the tutorial the movement with those keys feels natural. Another shocking feature is its different modes to edit, view, save, etc. I think this is probably why people refuse to use it. I felt helplessness for not being able to close Vim. I am quite surprised because of this as well.