Live data from Hacker News

The extensible vi layer for Emacs

github.com

21–30 of 104 posts

Re: The extensible vi layer for Emacs

#21
post #6

I want a vi layer for helix. I don't want to have any vimrc configuration, just open my editor and have LSP and everything working immediately. I just can't figure out how to switch to helix keybindings.

I learned helix's keybinds pretty quickly, it's not too difficult. Though, I don't really use it anymore, I prefer Neovim.

Re: The extensible vi layer for Emacs

#24
I've shot out emacs vs. vi back in 1999 and settled on vi after preferring emacs initially. Still, I think emacs is the better editor platform. every couple years, I try the available options in emacs for a vi input layer. None of them come close once you start typing quickly. It's way too easy for these emulations to stumble over quickly followed inputs. So in the end, I'll agree with djha-skin - just use (n)vim.

Re: The extensible vi layer for Emacs

#25

Earlier quoted context omitted.

NeoVim has got native LSP support, and works pretty well for me out-of-the-box for most languages. LSP servers need to be installed externally, but I hope they manage to bundle them somehow in the future. LunarVim already provides automatic LSP server installation.

Neovim also has a server mode that lets it be used to drive other editors, so you can get the best of both worlds.

Yes, neovim + vscode is quite good, better than a "vim emulation mode". I believe one of the maintainers (justinmk) uses this as his primary workflow, or at least "at work" workflow?

Not all plugin work, mostly the esoteric ones that spawn many buffers etc, but all your motions etc work fine.

Personally I find vscodes text rendering not as nice as alacritty for what ever reason, otherwise I would probably use it as my primary interface.

Re: The extensible vi layer for Emacs

#26

I used that settings for a few years, then tried to move entirely to vim, and now I'm very happy with vscode + vim. I like vim as a touch typer, I think it's a setting that minimize end motions. It's also very convenient in the terminal. On the other hand, I think it's not convenient as an IDE: too many shortcuts, clumsy integration with LSPs, especially when you need to work with different languages. For me it works…

NeoVim has got native LSP support, and works pretty well for me out-of-the-box for most languages. LSP servers need to be installed externally, but I hope they manage to bundle them somehow in the future. LunarVim already provides automatic LSP server installation.

I've been using Mason for LSP installation, works pretty well.

Re: The extensible vi layer for Emacs

#27
post #10

I used Evil for 5-6 years. Meow is another great modal system for Emacs.

Meow is really interesting for me as I never used Vim much. Meow seems to provide the benefits of modal editing with most seamless integration in Emacs. https://github.com/meow-edit/meow

Re: The extensible vi layer for Emacs

#28
I used to use emacs-evil but found myself having to remember both vim and emacs keybindings. That may be my own fault since I probably wasn't using ALL the settings / extra packages that make vim keybindings work everywhere.

I've since switched to god-mode [0], which just turns emacs keybindings into modal ones. I find it works quite well. I think emacs keybindings are easier to remember but harder to use. Turning them modal solved that for me. (For example, Ctrl + F for forward, Ctrl + B for backward is easy to remember, but hjkl is right by your fingertips).

Side-note, it looks like god-mode was archived and then made part of the emacs orphanage. I started using it years after it was archived before it was part of the emacs orphanage. Noticed no issues, since again all it does is just make emacs keybindings modal.

[0]: https://github.com/emacsorphanage/god-mode

Re: The extensible vi layer for Emacs

#29
post #6

I want a vi layer for helix. I don't want to have any vimrc configuration, just open my editor and have LSP and everything working immediately. I just can't figure out how to switch to helix keybindings.

There is this configuration: https://github.com/LGUG2Z/helix-vim

This switches most keybinds to be vi-like.

Post reply on HN