6 ms·
There's an abundance of good vim tutorials, but as a moderate user, it would be much more useful if there was a plugin that reminded me how to do things more ef
by yAnonymous 9y ago
There's an abundance of good vim tutorials, but as a moderate user, it would be much more useful if there was a plugin that reminded me how to do things more efficiently. I know how powerful vim is, but forget the shortcuts or how to use them.
For example, when I navigate words using H-L, remind me to use W-E-B instead. When I navigate many lines with J-K, remind me to use number shortcuts or G/gg. You get the point.
- throwawayvimmy 9y agoFor me I'd like there to be some "convention over configuration" package for Vim, especially with some modern shortcuts. I don't have Vim muscle memory so the aged shortcuts don't really offer anything for me. For example 0 goes to the beginning of the line, while ^ goes to the first character in the line. Why can't 0 be the "default" first character shortcut? Anyways I know there is a lot of Vim veteran out there that wouldn't want to use a package like this, and already have their own shortcuts made through years of configuration. It's just that there are hundreds of papercuts that would take years upon years for me to figure out and solve, instead of just learning. I'll just continue to use Sublime...
- icc97 9y agoI kind of felt the same way about Vim. I was very happy with Sublime. I still am and most of what I've done with Vim is replicate the functionality from ST. If you're not curious enough to dive in full time then stay with ST. I had the following reasons for switching: * it's open source * even if it is just 1-2% improvement that's a benefit you'll have every day for years - there's no guarantee but I wanted to see if it does help * as it's a command line tool it feels like you're closer to your code * you obviously get benefits in your SSH sessions * it does kind of feel like wearing a tailored suit, you set it up exactly the way you want it * I should be able to do everything that I could do in ST in Vim but I don't think it's the other way round
- hiq 9y agoDo you mean h-l? H-M-L are useful (top-middle-bottom of the window), but not to navigate words. By the way J (join lines) and K (look up the current word) are also useful.
- tinyrick2 9y agoThere's this plugin [0] that will not allow you to navigate the file by smashing the keyboard. Essentially what the plugin does is disable the hjkl and the arrow keys for 1 second after you type one of said keys. There's also the extreme version of this plugin [1] which will disable the hjkl and other similar keys entirely. [0] https://github.com/takac/vim-hardtime https://github.com/takac/vim-hardtime [1] https://github.com/wikitopian/hardmode https://github.com/wikitopian/hardmode
- icc97 9y agoGVim has the shortcuts next to each of the menu items. GVim is the most newbie friendly environment which you can wean yourself off of once you're comfortable using Vim's commands.