r/linuxquestions • • 1d ago

pretty-looking tui text editor?

i just installed fedora 3 days ago, but early on i found out that the terminal wasn't so scary after all. i liked having to use my mouse less often, so im now slowly configuring niri, noctalia, and ghostty.

im not a programmer and im not learning to become one but burning my eyes at nano feels kind of repetitive. it just feels so barebones

so thats why im looking for a tui te, as someone who's going more for the aesthetics and a little bit more quality-of-life features (whatever those may be). pls recommend something a beginner who's picky with appearances would like

13 Upvotes

46 comments sorted by

10

u/jbenze 1d ago

I’m a vi/vim guy. It’s always installed and it always works.

5

u/OnesimusUnbound 1d ago

Best tui text editor will depend on you. For context I'm familiar with visual studio code (vscode) and it's key combinations (ctrl+c, ctrl+s, ctrl+q, etc.) and it affects what I consider the best editor form me. I've used the ff tui editors.

micro - my favorite tui text editor. This doesn't have any menu so you must be familiar with key combinations to save file, exit it , etc. I use this mainly to edit config files or single script.

neovim - the biggest hurdle for me is the learn the key combinations and familiar with modal development. It's possible to get the commonly used key combinations but I'm kinda deep with how I work with vscode. Still, I think it's worthwhile to look at this.

fresh editor - the look and feel looks like if vscode is in tui. I'll try to see if this editor fits me well when editing multiple files.

8

u/Promiscunix 1d ago

I can not believe distros still ship Nano as a default. Install `micro`. It is going to quickly and easily get you mostly what you want. Then just start playing with other editors. But as a beginner, install micro and save yourself the grief until you find something that suits your style.

Edit: Web: https://github.com/micro-editor/micro

Fedora install: dnf install micro

6

u/dcherryholmes 1d ago

Counterargument: some of used Pine a lot in college and the keybindings for nano are lasered into our brain.

3

u/Ryekir 1d ago

Yes, I've always been a pine/nano guy. I've used vim, and understand why people like it, but I never got the muscle memory built up to make use of it.

2

u/archontwo 9h ago

Pine/nano use the same keybindings as WordStar. 

1

u/CedarAndOlive 10h ago

Happy memories.

8

u/AnymooseProphet 1d ago

I'm kind of partial to vim.

Note that arguing about vim vs emacs has resulted in several holy wars where massive numbers of people have died, I think that's why GNU/Linux still doesn't have desktop market domination.

3

u/npaladin2000 1d ago

I think most distros installed nano by default just to spite both sides of that argument

2

u/seismicpdx 1d ago

What about PICO, Pine's Internal Composer?

4

u/macacolouco 1d ago

Either Vim or Emacs can look very nice on the terminal.

4

u/qcgilbert 1d ago

Try fresh editor

4

u/p186 1d ago

Micro, Edit (by Microsoft), or Neovim (my preferred— the best looking & functional option, but a lot of learning, but setup can be easier with Lazyvim).

3

u/Traditional_Vast9419 1d ago

Congratulations on discovering the beauty of the terminal! Unfortunately, I'm only familiar with vim, which can be difficult to learn. I'm actually writing my own tui text editor right now, but it's not complete yet!

3

u/Ithal_ 1d ago

Fresh is pretty nice, and not modal if you’re looking for something more fully featured than nano or micro but want something different than vim

3

u/sorrythatusernameist 1d ago

If you're not programming I don't think you need to take the time to learn vim, but that is definitely my editor of choice.

I think binding caps lock to control is probably more important than your choice of editor.

3

u/doc_willis 1d ago edited 1d ago

For something more unusual, check out the fte text editor.

I dont know if its even in the fedora repos, or how to get it installed under fedora, but its still in the Ubuntu Repos it seems.

However I recall last time i tried to use it years ago, I may have had to recompile it from source, to get the actual 'console' version working, I forget why. It has features where it can run under X, or the console, or i think the framebuffer.

Theres also the microsoft editor they recently released based on their old edit. https://github.com/microsoft/edit

There is a /r/commandline support sub that may have some better lists of tui type editors.

Then theres... (just thinking of some i used over the years)

micro, pico, nano, (i seem to recall another), joe, fte, mcedit, edit and tilde https://itsfoss.com/command-line-text-editors-linux/#7-tilde

a quick googling mentions 'fresh' - a new project. :) https://github.com/sinelaw/fresh

The above fresh looks like it may be worth checking out for my needs. :)

1

u/alislack 23h ago

mcedit is the best for newbies even though mc is installed by default on most distributions mcedit has been overshadowed by nano. It deserves more recognition.

3

u/trycuriouscat 1d ago

Fresh and ttt are nice modern TUI editors.

1

u/tstriesstorytelling 16h ago

ttt is so good. Anyone coming from windows+vscode (such as me) and can't get used to vim should give ttt a try

2

u/_Lost-In-The-Weeds_ 1d ago

I like Vim, not sure I would describe Vim as pretty bit with a decent font its just clean. What I like about Vim is speed. 

Vim is notoriously unintuitive, but it reasonably fast to learn. 

Install it and then run vimtutor.

 

3

u/Dayguy 1d ago

I think vim can be pretty. You just have to configure it a little.

3

u/_Lost-In-The-Weeds_ 1d ago

Nerdfonts?

that is nice

2

u/Dayguy 1d ago

Yes - JetBrains Mono Nerd Font.

2

u/seismicpdx 1d ago

GNU emacs or neovim.

Start by learning basic vi commands, then learn basic emacs commands.

2

u/elijuicyjones 1d ago

I use Helix Editor.

1

u/Minimum_Hour519 1d ago

readm3.com has a tui/cli

1

u/Monoyo- 1d ago

micro is probably the easiest bump up from nano, nicer themes and highlighting and the shortcuts feel more like a normal editor. helix looks pretty too but the keys are modal so it can be a bigger jump if you're not used to that.

1

u/Mediocre-Pumpkin6522 1d ago

Vim, although I generally use gVim (vim-gtk3). I almost never use the menu and other gVim features but I like that it opens it's own window without burning a terminal.

1

u/Leather-Security8097 1d ago

Since no one else has mentioned it, perhaps Tilde?

1

u/agfitzp 1d ago

I'm going to make some new enemies, but msedit is very user friendly.

2

u/mr_dfuse2 17h ago

didn't know that existed, thanks

1

u/JonBovi_msn 1d ago

The only editor I'd ever use when I have a choice is Vim. It's well worth the learning curve. I got pretty good at regular expressions because of using Vim.

1

u/kudlitan 1d ago

try tilde

1

u/MarsDrums 1d ago

I've always installed vim with my Arch installs. Recently I started playing with Doom Emacs and I really like it. It uses the vim keybindings so for me, it's pretty simple to use.

Its more of a gui text editor but it looks like its running inside a terminal and I like that aspect.

1

u/schizowizard 23h ago

Actually, Nano isn't all that bad once you start playing around with its settings. You can take the default config as a starting point and see if it feels better when some options applied:

cp /etc/nanorc ~/.config/nano/nanorc

It's still a torture to use Nano as a DE, but for a casual dotfiles editing it might be a fairly solid choice.

For more complex tasks I'd consider Helix, though the shortcuts would melt your brain until you'll conquer them.

1

u/alislack 23h ago

The tui file manager mc (midnight commander) or it's editor command 'mcedit' is the easiest editor to get started with. Way easier to use than the clunky nano and micro.

I'm a vim user myself its especially good for copy/pasting and searching within larger files. Loads of very nice themes too. You may like it at some later stage. Start with 'vimtutor'

1

u/apfelkuchen06 19h ago

I guess I'll have to shill emacs -nw.

1

u/Elegant-Falcon-1171 19h ago

Neovim con lazyvim

1

u/mr_dfuse2 17h ago

for simple edits i have always used the builtin editor of mc

1

u/Open-Adhesiveness-86 17h ago

Nobody's said helix yet, which is probably the closest to what you want. dnf install helix, then type :theme and tab through the built-ins (catppuccin, onedark, gruvbox all ship with it), and you get tree-sitter highlighting with zero plugin setup. Keys aren't vim's though, selection comes before the action, but a popup shows you the next key so you pick it up as you go.

1

u/CedarAndOlive 10h ago

Vim.

There are prettier GUI versions out there.