Lots of replies mentioning Emacs but Emacs out of the box is gonna be essentially a text editor (insert obligatory: Emacs isn’t a text editor; it’s a LISP interpreter).
However, install Doom Emacs, and you have a full IDE experience for essentially any language you could ask for. I highly recommend it.
is there a flatpak of this?
A Flatpak of Doom Emacs? No. But you can just install the normal Emacs flatpak and then install Doom Emacs with 2 simple commands:
git clone --depth 1 https://github.com/doomemacs/doomemacs ~/.config/emacs
~/.config/emacs/bin/doom install
Emacs will read these config files from the .config/emacs directory. Doom Emacs is not a different version of the program, it’s essentially just a set of configuration files.
it’s not working for me? sorry to ask but could you try it? linux mint lts btw
I don’t have a Linux Mint installation right now, but when I used Mint a few months ago this worked for me. The two commands are from the official Doom Emacs install guide. Could you tell me exactly what doesn’t work?
when i use those commands it assume emacs is installed as a system package and installs to a different location not accessible to the flatpak
Try
PATH="/var/lib/flatpak/exports/bin/:$PATH" ~/.config/emacs/bin/doom install
is that one command? also is there any disadvantgaes to emacs as a flatpak
Yes, it’s one single command. No, I haven’t noticed any major downsides of Emacs as a Flatpak.
linux mint - can i use doom emacs btw. also thx
Following up from my previous comment, there is a Flatpak of Emacs available on Flathub. Here are the instructions for how to install, whilst enabling native compilation, which will offer a performance increase and allow you to use features such as
vterm
(the best terminal emulator for Emacs).