| Hi Reddit, As my school-funded GitHub education pack is about to expire, I have to let go of the InitelliJ IDEs and I decided to sell my soul and use NeoVim. I am already using Ubuntu after all, so why not continue the 10x cargo culting? I soon realized that NeoVim is hard. I keep on forgetting how to do things. I figured the best course of action to take would be to start a project that I am writing entirely with using NeoVim... and I figured I'll build a cheat sheet for myself! I was not really satisfied with the existing cheat sheets as I couldn't really search in them and save my favorites to look them up later. I decided to deploy it after all, so I can look on it on my phone as well. Then I figured, why do not I open source it, so the community can also help broaden this app? I already feature a search by keyword, category and the favourites function. I plan to add popular remaps also and command breakdowns, to understand why and how eg. 'ggVP' highlights all the texts. Perhaps I'll add guides later on too. Enjoy! Now excuse me but I have to configure an LSP for JavaScript... |
Please don't take it in a bad way, but I suspect you don't really grok Vi[0].
Vi/ViM/NeoVim is a language for text manipulation. If you keep thinking in terms of "a bunch of shortcuts" you will have a pretty bad time with this editor.
For example, in your cheatsheet 'gg' and 'dd' are presented in the same way. Sure, both are commands in the normal mode but the similarities end there. 'gg' is a motion command whereas 'dd' is a shortcut for 'delete the current line' which can also be expressed as: 'Vd', '0d$', '0D', '$d_', ...
The important part to note about 'dd' is that it has 2 parts: 'delete' and 'current line'. 'delete' define what you want to do and 'current line' defines where the action should be applied. When you understand this things get way easier because you just need to learn a couple 'actions' and a couple 'motions' to do most of the things. And every time you learn something new you can also combine it with everything you already know.
But don't be discouraged by what I just wrote, you are in the right path. Have fun and keep hacking!
[0] - https://stackoverflow.com/questions/1218390/what-is-your-mos...