Live data from Hacker News

916 Days of Emacs

sqrtminusone.xyz

221–230 of 309 posts

Re: 916 Days of Emacs

#221

Earlier quoted context omitted.

> They seem awfully limited to me by comparison. Can you list your most important feature(s) in chosen your ide or editor that you suspect emacs doesn't have or can't easily have?

How about the intellij inspections? It's a ton of lints that underline bits of your code as you type, with a wavy line, and you can hover over it to see what the problem is, and even potentially fix it automatically. Is there anything like that in the emacs world?

Yep. You can use flymake or flycheck for that in combination with eglot or lsp-mode.

See https://github.com/joaotavora/eglot#diagnostics

Re: 916 Days of Emacs

#222
post #52

Earlier quoted context omitted.

1. Org mode - I will admit that I'm not a fan of org mode and find it to be oversold and another time waster for people who are already wasting time configuring their editors. I personally use vimwiki, there is a vim plugin for org mode. 2. Magit - Tim Pope is the pope of Vim plugins and fugitive is easily as good or better than Magit. I have never had any issue doing any sort of complex task in git or fixing conflic…

How do you surf the web in vim? How do you read email, RSS news, and usenet with vim? Does vim have a chat client as powerful as ERC? Mainly, though, is vim programmed in and extended through a lisp, and does it have an entire lisp ecosystem built around it? Don't get me wrong, I love vim, and used it and vi for 25 years before switching to emacs. But my emacs can do far, far more than vim ever did... and there's no…

seems weird to me that one would want to do any of these things inside vim... though it should be possible with the right plugins... but why? just use a window manager like screen or tmux to multi-task.

Re: 916 Days of Emacs

#223
post #67

Earlier quoted context omitted.

My emacs config is zero lines.

Respect. What do you use it for?

I mostly use it for writing C, python, latex, and bash. I know I’m losing a bit of efficiency by not carrying a config, but I consider configless emacs a bit more capable for my workflows than configless vim.

Re: 916 Days of Emacs

#224
post #84

Earlier quoted context omitted.

> the emacs cursor movement commands, which are (for some reason) the default cursor movement commands in most command line environments like the Postgres CLI. I think this is because they're used in GNU readline. They're also defaults in all the macOS GUIs, though, so maybe not.

> GNU readline Interesting... I always assumed that emacs was around for a while before anybody generalized a "readline" library, but I guess it makes sense that readline would have come first.

emacs definitely came first, and readline adopted emacs bindings (it also supports vi)

Re: 916 Days of Emacs

#225
post #150
post #104

Earlier quoted context omitted.

Many people who use Emacs a lot make CapsLock an additional Ctrl. Using your left-hand little finger makes it trivial to use C-p, C-n, C-f, C-b as cursor keys.

Lots of vim users do that too, in fact the ADM-3A terminal vi was written on had ctrl where caps-lock is now and escape where tab is.

ADM-3A also has

- the : key to the right of the 0 on the number row, no Shift needed.

- the Enter key to the right of the P.

I've made both changes to my keyboard layout and, not surprisingly, it's quite convenient.

Downside is, you'll have to move the original keys somewhere else. But since I already intended to totally reshuffle all the non-alpha keys for RSI reasons, it wasn't an issue for me.

Re: 916 Days of Emacs

#226

Actually, what's the fuss about Emacs being so good? I'm a hardcore vim user to the point that I've installed Vimium for browsers, use vim on my iPad as well. Someone please enlighten me with links, guides or just a comment as to what's in Emacs that makes it productive and special.

I don't know why I am being downvoted. Sorry if you smelled snark in my comment.

I am genuinely asking for an experiential guide/comment rather than a link to documentation.

Re: 916 Days of Emacs

#227
post #52

Earlier quoted context omitted.

1. Org mode - I will admit that I'm not a fan of org mode and find it to be oversold and another time waster for people who are already wasting time configuring their editors. I personally use vimwiki, there is a vim plugin for org mode. 2. Magit - Tim Pope is the pope of Vim plugins and fugitive is easily as good or better than Magit. I have never had any issue doing any sort of complex task in git or fixing conflic…

How do you surf the web in vim? How do you read email, RSS news, and usenet with vim? Does vim have a chat client as powerful as ERC? Mainly, though, is vim programmed in and extended through a lisp, and does it have an entire lisp ecosystem built around it? Don't get me wrong, I love vim, and used it and vi for 25 years before switching to emacs. But my emacs can do far, far more than vim ever did... and there's no…

I think this sort of defense of EMacs misses a key point: most people have no interest in running a browser, email, chat, etc. from within their text editor.

Generally people prefer to do those sorts of things with specialized applications that are more tailored towards those individual use cases.

Re: 916 Days of Emacs

#228

I've been a hardcore vi user pretty much my entire life, but I decided to force myself to spend a year using emacs a while back just to see what all the fuss was about. When the year was over and I "allowed" myself to return to vi, it was like a huge weight lifted off my shoulders... to this day I still don't see what the hype was about. On the plus side, though, I memorized the emacs cursor movement commands, which…

When I was at the university and started programming on UNIX, the professor said we should try both emacs and vi and see which we like better, and provided links to some tutorials. I tried them both and liked vi. Emacs seemed slower. In my undergraduate wisdom, I deemed emacs to be "stupid" and went on with my life using vi. After I had been programming professionally for about ten years, I decided that my harsh judg…

I’m a touch typist and don’t find that argument valid either for vi or emacs. And I’ve used emacs for over 30 years now and still do use vi occasionally on production servers where I’m not going to load my full emacs config just for sys admin work.

Re: 916 Days of Emacs

#229
recently put effort into improving my emacs environment and i love it more than ever. great things that were new to me: wgrep, native compilation, rg-mode, dir-locals, straight.el. Not new to me, but lsp and magit are still fast and intuitive. After the initial push, i haven’t had to give it much thought. To be fair, yaml-mode is still the pits.

Re: 916 Days of Emacs

#230
post #39

I've been a hardcore vi user pretty much my entire life, but I decided to force myself to spend a year using emacs a while back just to see what all the fuss was about. When the year was over and I "allowed" myself to return to vi, it was like a huge weight lifted off my shoulders... to this day I still don't see what the hype was about. On the plus side, though, I memorized the emacs cursor movement commands, which…

I had a similar experience, but came to the opposite conclusion. I walked away replacing vim with emacs as my daily driver. Elisp is far more extensible than vimscript and evil-mode is pretty much at 1-1 feature parity with the real vim. I don't care much for the emacs movement keybindings except for the readline movement commands. > to this day I still don't see what the hype was about. Most of vim is written in C w…

Vimscript is a pain but these days you can use Neovim which supports Lua as a replacement. I’d recommend checking out what Neovim has to offer. ThePrimeagen has a great video on setting up Neovim as an IDE from scratch.

https://m.youtube.com/watch?v=w7i4amO_zaE

Post reply on HN