Live data from Hacker News

Modeless Vim

github.com

191–200 of 398 posts

Re: Modeless Vim

#191
I relate with OP about the difficulty to memorize advanced commands from vim. Nevertheless, I cannot go back to a modeless editor and found a happy middleground using VSCode with the vim extension. It's not hardcore vim for sure but I feel that I get the best of both worlds.

Re: Modeless Vim

#192

Personal anecdote: I've used Vim for many years, but I never progressed much beyond the basics, because I almost never put much active effort into learning more advanced motions. About a year ago, I discovered the Helix editor, which has a (IMO) genius feature, where pressing a key to start a motion or other action pops up a little pop-up box that shows all the possible options. It just perfectly clicks with my brain…

There is a well known plugin for neovim to do this kind of behavior. You can even create your own hotkeys into that plugin and will help you navigate and memorize different hotkeys for the editor. The plugin is called whichkey, and this is their github https://github.com/folke/which-key.nvim

I'm today a neovim heavy user, but even using lazyvim, there's a lot missing with which key. Helix seems to be more out of box.

I'm also restarted my journey with neovim after helix.

Actually lazyvim convinced me to give another chance, because the community packs and mason makes lsp so convenient!

Astronvim is also a good contender, but I broke it so many times trying to customize.

Re: Modeless Vim

#193

Personal anecdote: I've used Vim for many years, but I never progressed much beyond the basics, because I almost never put much active effort into learning more advanced motions. About a year ago, I discovered the Helix editor, which has a (IMO) genius feature, where pressing a key to start a motion or other action pops up a little pop-up box that shows all the possible options. It just perfectly clicks with my brain…

There is a well known plugin for neovim to do this kind of behavior. You can even create your own hotkeys into that plugin and will help you navigate and memorize different hotkeys for the editor. The plugin is called whichkey, and this is their github https://github.com/folke/which-key.nvim

Off-topic: does Neovim have a stable GUI distribution that runs well on Windows and includes fuzzy file search and a file explorer?

Re: Modeless Vim

#194
post #193

Earlier quoted context omitted.

There is a well known plugin for neovim to do this kind of behavior. You can even create your own hotkeys into that plugin and will help you navigate and memorize different hotkeys for the editor. The plugin is called whichkey, and this is their github https://github.com/folke/which-key.nvim

Off-topic: does Neovim have a stable GUI distribution that runs well on Windows and includes fuzzy file search and a file explorer?

[deleted]

Re: Modeless Vim

#195
post #193

Earlier quoted context omitted.

There is a well known plugin for neovim to do this kind of behavior. You can even create your own hotkeys into that plugin and will help you navigate and memorize different hotkeys for the editor. The plugin is called whichkey, and this is their github https://github.com/folke/which-key.nvim

Off-topic: does Neovim have a stable GUI distribution that runs well on Windows and includes fuzzy file search and a file explorer?

- For GUI https://github.com/neovide/neovide

- For Fuzzy file search you will need to add Telescope plugin

- For File Explorer, you could use Neo-tree.nvim

Re: Modeless Vim

#196

Personal anecdote: I've used Vim for many years, but I never progressed much beyond the basics, because I almost never put much active effort into learning more advanced motions. About a year ago, I discovered the Helix editor, which has a (IMO) genius feature, where pressing a key to start a motion or other action pops up a little pop-up box that shows all the possible options. It just perfectly clicks with my brain…

This is also how magit works, and I agree it's fantastic. Using magit has taught me so much more about command-line git than my past 12 years with it in the command line.

Re: Modeless Vim

#197

Personal anecdote: I've used Vim for many years, but I never progressed much beyond the basics, because I almost never put much active effort into learning more advanced motions. About a year ago, I discovered the Helix editor, which has a (IMO) genius feature, where pressing a key to start a motion or other action pops up a little pop-up box that shows all the possible options. It just perfectly clicks with my brain…

LazyVim comes with this as well, although with a 1 second delay or so in case you've already got it in muscle memory.

It's the Neovim flavor that Shell Bling Ubuntu [1] installs, though, so I'm biased. I've been considering including an option to install `hx` as well in there.

[1]: https://github.com/hiAndrewQuinn/shell-bling-ubuntu

Re: Modeless Vim

#198

> Instead of remembering cryptic commands I use vim and nothing about its commands are "cryptic" to me. You want to "go to definition"? You press "gd" as in "(g)o to (d)efinition". What's cryptic about this?

gd isn't a native vim command though :P This tool is intended for people who never use vim more than a few times a month or a year

Re: Modeless Vim

#199
post #74

Earlier quoted context omitted.

Good to know. Of course, I did have to google how to quit easy vim.

for any one wondering cntrl-o --> to get to normal vim mode then exit as usual

It's apparently also possible to do Ctrl-q to quit directly (it runs :confirm qall).

Re: Modeless Vim

#200
post #37

Conceptually the reasons the author give for this (syntax highlighting and other features of vim outclass other terminal-based editors) make total sense. That said there's something absolutely defiling about this. It's like installing a V8 in a Tesla, or replacing the pumpkin in pumpkin pie. I love that it will make VIM more accessible for more people, but I hate how they do it. Kudos to the author.

It’s similar to preferring guitar hero because a real guitar has too many frets and too many chords to learn
Post reply on HN