4 ms·
Also a returning Emacs user this last 3 years after almost an entire working lifetime of (n)vi and vim, post 1984/5. I agree with the sentiment here mostly: ve
by ggm 3y ago
Also a returning Emacs user this last 3 years after almost an entire working lifetime of (n)vi and vim, post 1984/5.
I agree with the sentiment here mostly: very few commands go an awfully long way, with org mode about the only Melpa add on I know I use.
I do wish I could remember some chording to avoid a few long winded M-x command strings being typed. And the cut/yank thing is .. annoyingly inverse to most people's language as is window and frame.
That said, I am more fluent in vi. Modes are a pattern just as valid as modeless. We're all meta all the time. Sometimes being immersed in the whole (-emacs) is what I want and sometimes I want a :1,$s/earch/and replace/g experience and being mode-full is fine.
- anthk 3y agoCheck out vis, it uses structural regexen from plan9's sam. For tmux users, this will avoid any lag. Place it at ~/.tmux.conf: set -sg escape-time 10
- bqmjjx0kac 3y agoIf you're not aware, check out evil-mode. https://github.com/emacs-evil/evil https://github.com/emacs-evil/evil
- ggm 3y agoI have tried these, they don't appeal. I want to run an engine based on Keith Bostics take on Bill Joy's editor
- nequo 3y agoOut of curiosity, what behavioral differences stand out to you between nvi and vim? NetBSD ships with nvi and it felt quite alien to me after vim and evil.
- ggm 3y agoI used to believe there was one significant command difference but I am no longer sure it matters and frankly cant recall what it was even. There is a difference in how they handle the undo/redo stack, there are some differences in :.= and ^g handling. The flip to alternate brace pair behaviour is different but can be configured in vim. I think expandtabs processing is different. Nvi is far smaller but that obsessional view is less important in these days. Nvi has no syntax highlighting and is far less scriptable. Again, it's minimalist religion. A lot of this is muscle memory.
- brabel 3y agoAnd the alternative for people like me, who just want to avoid too much Ctrl pressing sometimes, without fully comitting to the "mode" experience, is god-mode[1]. While you enable it (usually by pressing Esc), Ctrl is "assumed" to be always pressed, so saving a file becomes "x s" (though when I am on Mac, I always map Cmd+S to save - and many other Cmd key based shortcuts that I used in every other app - thanks to emacs built-in shortcuts almost never using the Cmd key as it was designed for Unix). It made using emacs much more enjoyable for me. [1] https://github.com/emacsorphanage/god-mode https://github.com/emacsorphanage/god-mode
- _emacsomancer_ 3y agoAlso see Meow[1], [2], which adopts some ideas from god-mode. [1]: https://github.com/meow-edit/meow https://github.com/meow-edit/meow [2]: https://esrh.me/posts/2021-12-18-switching-to-meow.html https://esrh.me/posts/2021-12-18-switching-to-meow.html
- tmtvl 3y agoSee also Modalka (<https://github.com/mrkkrp/modalka https://github.com/mrkkrp/modalka>), whose author discusses alternatives in the README.
- rtpg 3y agoI don't know what packages enable it but Doom Emacs is set up so that in the M-x minibuffer it shows the primary key binding for a command next to the name, if it exists. I've found that this helps me to memorize ones I reference, even if it's only memorized for a couple hours.