3 ms·
> Exactly! Pity this basic contextual help isn't more widespread, every single app that uses a lot of keybind sequences could benefit from it, especially if it
by tasn 1y ago
> Exactly! Pity this basic contextual help isn't more widespread, every single app that uses a lot of keybind sequences could benefit from it, especially if it becomes a bit smarter and only shows a popup if you don't finish the sequence right away
I've been using Vim/Neovim for 20 years, but still can't get enough of which-key[1] which I only installed ~6 months ago.
1: https://github.com/folke/which-key.nvim https://github.com/folke/which-key.nvim
- deleted 1y ago[deleted]
- eikenberry 1y agomini.clue is another good option for this feature in neovim. https://github.com/nvim-mini/mini.clue https://github.com/nvim-mini/mini.clue
- sundarurfriend 1y agoThe mini set of modules are such a treasure, Evgeni is amazing.
- eviks 1y agoYeah, that's the mortal sin of vim - insisting on shitty unergonomic defaults, requiring every new user waste time recreating a better UI while suffering for years before even the appropriate knowledge is acquired
- eimrine 1y agoI have not seen any unergonomic defaults in vim. Check your understanding of vim philosophy probably.
- eviks 1y agoCheck your understanding of ergonomics if you fail to see the obvious
- eulgro 1y agoCan you give at least a few examples? I have no understanding of ergonomics it seems
- seanhunter 1y agoThere literally is a plugin [1] containing sensible defaults that everyone in the community agrees would be good as default but “backspace” and “incsearch” are the most obvious. “Backspace” allows you to delete with the backspace key beyond the point where you pressed “insert”. I don’t think I’ve ever met someone who thinks the vim default (not allowing this) is ergonomic. [1] https://github.com/tpope/vim-sensible https://github.com/tpope/vim-sensible
- ratrocket 1y agoI wouldn't argue that the vim default (of not allowing backspace beyond where you entered insert mode) is ergonomic, but I do prefer and exclusively use the default vim behavior. It's just what I'm used to at this point (24 years using vim/nvim) and if I set it the "ergonomic" way, it's disorienting. So, ergonomic or not, some people do prefer the default -- at least one person :).
- wtetzner 1y agoHave these already been adopted in neovim by default? It seems like I already have this behavior without needing any plugins.
- seanhunter 1y agoThere are quite a lot of default changes so go :he nvim-defaults to get them all but yes, the default setup in neovim is much more sane.
- eviks 1y agoYou can start with the original example 4 comments above and try to understand how unergonomic the default way of learning/remembering hundreds of key combinations in vim is. Then think about the basics: why some of the most frequently used commands w/b are located so inconveniently and far away from each other (and if you reconfigure them, how unergonomic the config language is where instead of reading a sensible name like 'move_prev_word_start' you can only reference 'b' that you'd never use since, well, you've changed it to something else!)
- bheadmaster 1y agoI personally like Neovim's defaults since it fixes a few rough spots in old school Vim defaults. Bonus is once you get used to defaults, almost every server has a Vi installed whose basic features you can use.