this post was submitted on 29 Oct 2023
1 points (100.0% liked)

Emacs

310 readers
2 users here now

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS
 

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)

top 24 comments
sorted by: hot top controversial new old
[–] bitspace@alien.top 3 points 1 year ago (1 children)

more featured

You haven't actually spent more than 30 seconds looking at emacs resources.

[–] BobKoss@alien.top 1 points 1 year ago

troll alert

[–] HaskellLisp_green@alien.top 2 points 1 year ago

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.

[–] notdarrell@alien.top 2 points 1 year ago
[–] oantolin@alien.top 2 points 1 year ago

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.

[–] akirakom@alien.top 2 points 1 year ago (1 children)

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.

[–] dsfox@alien.top 1 points 1 year ago

When I started using emacs there was no vim, just vi.

[–] Erebus_Oneiros@alien.top 2 points 1 year ago

If you love vscode so much, may I introduce you to...

Vscode running inside Emacs!

[–] sg2002@alien.top 1 points 1 year ago

To give you an honest answer: for that feeling of freedom. For most tools there exists a clear distinction between the developer elite and the unwashed user masses, where users only get to have a very curated experience decided upon by the elite. To make it worse, those tools often suffer from what I call "the redesigner syndrome". It's when a new ubermench designer(developer) takes over a part of the functionality, redesigns it to support 1-2 of use cases he's interested in(aware of) and then makes the 10 other long standing ones worse or outright breaks them. To user concerns he smugly answers "well, you shouldn't be even doing that".

Emacs has the smallest distinction between the stuff imposed upon you and the stuff you select yourself. Then, it's so easily customize-able that with practice, when you run into some task that can be automated, you'll have a working solution within minutes. That solution would probably be a Lovecraftian abomination, but you may choose to share it with other hackers anyway, who would then use it as a building brick for even more abhorrent abominations of their own.

[–] noooit@alien.top 1 points 1 year ago

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?

Vscode did not exist when I started coding, and no doubt it will eventually reach its end of life, long before I'm dead.

Emacs does almost everything, and the fact that I've been using it for 30+ years means I'm familiar with the options and limitations.

Sometimes I look at alternatives, but nothing else is as flexible and customizable as Emacs.

[–] Schievel1@alien.top 1 points 1 year ago

I want keyboard centric usage but feature rich

Also emacs is a tad more then just customizeable like vscode. emacs has a tiny C core and the rest ist elisp. This makes it so that you can customize everything. Once you get used to that it’s hard to accept that you have dead ends on other editors where you just have to accept what you want isn’t possible without maintaining your own fork of packages or the editor

[–] Psionikus@alien.top 1 points 1 year ago

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.

[–] rwilcox@alien.top 1 points 1 year ago

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.

[–] rileyrgham@alien.top 1 points 1 year ago

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.

[–] fostopern@alien.top 1 points 1 year ago

bro one the reasons is that emacs is almost an operative system and still lighter than vscode

[–] Entalpi@alien.top 1 points 1 year ago

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.

[–] john_bergmann@alien.top 1 points 1 year ago

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.

[–] sleekelite@alien.top 1 points 1 year ago (1 children)

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.

[–] GeekoftheWild@alien.top 1 points 1 year ago

EXWM (Emacs X Window Manager) is a thing, an X11 window manager. ANYTHING is possible in Emacs.

[–] Nondv@alien.top 1 points 1 year ago (1 children)

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

[–] github-alphapapa@alien.top 1 points 1 year ago (1 children)

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.

[–] Nondv@alien.top 1 points 1 year ago

well, thats too ambitious. But whatever

[–] lambdasgr@alien.top 1 points 1 year ago