r/linuxquestions • u/No-Investigator-6125 • 15d 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
10
u/jbenze 15d ago
I’m a vi/vim guy. It’s always installed and it always works.
5
u/OnesimusUnbound 15d 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 15d 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 micro8
u/AnymooseProphet 15d 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.
4
u/macacolouco 15d ago
Either Vim or Emacs can look very nice on the terminal.
4
u/qcgilbert 15d ago
Try fresh editor
4
u/p186 14d 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/BetterEquipment7084 15d ago
Emacs
3
u/Traditional_Vast9419 15d 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_ 15d 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 14d 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 14d ago edited 14d ago
For something more unusual, check out the
ftetext 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
freshlooks like it may be worth checking out for my needs. :)3
u/trycuriouscat 14d ago
Fresh and ttt are nice modern TUI editors.
2
u/Mr_Flandoor 15d ago
helix
2
u/_Lost-In-The-Weeds_ 15d 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.
2
u/seismicpdx 15d ago
GNU emacs or neovim.
Start by learning basic vi commands, then learn basic emacs commands.
2
u/ipsirc 15d ago
2
u/elijuicyjones 14d ago
I use Helix Editor.
1
u/Minimum_Hour519 15d ago
readm3.com has a tui/cli
1
u/Monoyo- 15d 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 15d 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 15d ago
Since no one else has mentioned it, perhaps Tilde?
1
u/bdowns328 15d ago
https://github.com/eugenioenko/ttt
1
u/agfitzp 14d ago
I'm going to make some new enemies, but msedit is very user friendly.
1
u/JonBovi_msn 14d 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 14d ago
try tilde
1
u/MarsDrums 14d 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 14d 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:
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 14d 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 14d ago
I guess I'll have to shill
emacs -nw.1
u/Elegant-Falcon-1171 14d ago
Neovim con lazyvim
1
u/mr_dfuse2 14d ago
for simple edits i have always used the builtin editor of mc
1
u/Open-Adhesiveness-86 14d 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 14d ago
Vim.
There are prettier GUI versions out there.
1
u/Dull_Cucumber_3908 13d ago
mcedit
1
u/Ecstatic_Rub_548 12d ago
If you can manage the learning curve: neovim with lazyvim config
If you can manage the learning curve but don't want to fw config: helix
If you don't want any learning curve and just wanna do simple tasks: micro
1
u/Friiduh 8d ago
What is wrong with nano? It is user-friendly for total computer beginners as it show all combos instantly.
Open nano, micro, vim, nvim, emacs, joe, msedit and really look what a total computer noob sees, and need to do to successfully:
The nano is easiest. The msedit gets close, but drop-down menus is bad, as it is more unique. Nano guide is best, where micro is confusing. Msedit has nice open dialog, but becomes complex. Msedit might be best paired with the midnight commander. Msedit lack of word wrap is against it, as is for the Joe as well.
For a beginner to get text written, saved and opened, the nano is just best. But having dynamic bottom guide bar based window size, it just annoy.
For advanced I would suggest Joe, but because lack of dynamic word wrap, I can't recommend it to writers as that's HC mentality stops.
And instead mc, I recommend nnn. And to talk about vi or emacs for beginners... Whoah... Talk about deep end...
1
u/meraj_enigma7 8d ago
I have been using ttt editor (https://tttedit.dev/) for all my development need these days and it's pretty cool!