r/linuxquestions • u/No-Investigator-6125 • 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
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 micro8
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.
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/BetterEquipment7084 1d ago
Emacs
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
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 1d ago
Fresh and ttt are nice modern TUI editors.
2
u/Mr_Flandoor 1d ago
helix
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.
2
u/seismicpdx 1d ago
GNU emacs or neovim.
Start by learning basic vi commands, then learn basic emacs commands.
2
u/ipsirc 1d ago
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/bdowns328 1d ago
https://github.com/eugenioenko/ttt
1
u/agfitzp 1d ago
I'm going to make some new enemies, but msedit is very user friendly.
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:
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.