Why not just use vscode if you want a more featured experience, and vim/neovim if you want a minimalistic experience?
(not including the fact that Microsoft owns vscode and that some parts are not open source, im aware of that, so no need to mention it)
more featured
You haven’t actually spent more than 30 seconds looking at emacs resources.
troll alert
One reason is that VS Code hadn’t existed yet when I started using Emacs.
Another reason is customization. Emacs is one big Lisp interpreter, while VS Code is a desktop application with JavaScript frontend. VS Code would never achieve the level of customizability Emacs offers.
As someone else has mentioned, Emacs is the oldest and mature, so it is nearly impossible for a new editor to catch up with all of its functionalities.
When I started using emacs there was no vim, just vi.
If you love vscode so much, may I introduce you to…
Vscode running inside Emacs!
Org Mode
you can run VS code in browser, but i can run browser in Emacs. That’s why Emacs > VS code. Also there are myriad of reasons to use Emacs, since it’s more than just editor. It’s environment that can be used to create anything you need to do what you want.
Isn’t VS Code less feature ful than Emacs, not the other way around? Does it have keyboard macros, can I extend the editor by writing a function in Javascript in a scratch buffer and bind it to a key without needing to package the whole thing as an extension? I confess I haven’t tried VS Code but from what I hear it sounds like it wouldn’t let me automate things to anywhere near the extent I can in Emacs.
multi-cursors in an editable grep result over files limited to the current project. Modify, save, and all relevant files are updated.
Never seen this level of integration of features in any of the other editors I have tried during my 25 years of using emacs.
I guess for the consistency.
Say you want to copy or paste thing from the command you are typing, can you do the with the same shortcut in the insert mode?Such a weird and lazy question. emacs is over forty years old, has whole applications written in it and people have slowly modified their own configs for decades to be thousands of lines of code.
EXWM (Emacs X Window Manager) is a thing, an X11 window manager. ANYTHING is possible in Emacs.
i think the real competition here is vim.
vscode is a user-friendly editor that you just start using as a no brainer. You unlikely to learn more as you go (maybe a couple of shortcuts). So you get what you see pretty much
vscode is like a lego set. Emacs is more like a piece of marble. Harder to work with but has so much more potential.
and btw, vscode is the minimalist here
Emacs is more like a piece of marble. Harder to work with but has so much more potential.
More like a ball of clay: infinitely and trivially malleable. And you can bake parts of it into ceramic whenever you want.
well, thats too ambitious. But whatever
I’m interested in editor longevity. I’ve been using BBEdit on the Mac for most of 15 years - started in the mid 1990s - , but when I made a move cross platform that didn’t work anymore. Really don’t want to switch editors every 5-10 years as editors become popular, then reach past their peak and are abandoned as the previous hot thing.
Oh, and I can use Emacs on my Mac desktop, my Linux laptop, Windows laptops AND (thanks to running it inside a iSh) my iOS devices! Cross platform!
On other notes, I needed something with easier customization than VSC AND wanted my command line experience to be the same across Windows and Linux. Hello eshell, the jokes about Emacs being an OS are right! I also like playing with things in different ways: I want a command line shell that’s not coupled to POSIX, and I can build it in Emacs. A menu bar that is mine and I can add to. I do appreciate M-x and I know VSC has its command palette which I used quite a bit when I was into that editor for a while.
You want your primary interface to a computer to be a programmable programming environment, which provides extremely proficient interfaces for programming itself, as a force multiplier for automating things that require a varied composition of off-the-shelf and bootstrap-level integrations.
In fairness, vscode is much better than Emacs in terms of “ease of use” for plugins and debugging. But not a patch on the overall integrated experience. LSP the big game changer that bought me back to coding in Emacs though dap is still very underwhelming.
bro one the reasons is that emacs is almost an operative system and still lighter than vscode
Honestly getting VS Code to work like Emacs does for me would be a huge undertaking. Its simply closer to how I want to use a text editor.
For example, debuggin - use GDB - integrates with Emacs. Move around - use Evil. Interact with Git - Magit. Terminal - Eshell. Syntax highlighting - tree-sitter, and of course, LSP for actually jumping around and refactoring with some smarts.
Its quite simple and elegant. Sure, its not accessable since its all keyboard shortcuts.