Earlier quoted context omitted.
How is this easier than jumping straight to the line with absolute numbers?
15j is easier than 4879gg. It’s a little bit quicker on big files—not a huge difference.
Show HN: Hardtime.nvim – break bad habits and master Vim motions
71–80 of 89 posts
Re: Show HN: Hardtime.nvim – break bad habits and master Vim motions
#72I always find it funny when people say to not repeat h-l, w-W keys for horizontal movement. No way I am starting to count how many characters there are in front of my cursor just to have the satisfaction of typing "31-l"... I am totally going to spam some 2w 3w llll until I reach the desired position.
Agree. vim-sneak is the answer to this, you can reach anywhere with maximum 3 key presses. It's very intuitive and easy to pick up. If I had to pick only one Vim plugin it would be sneak. https://github.com/justinmk/vim-sneak
Re: Show HN: Hardtime.nvim – break bad habits and master Vim motions
#73The way I like to explain vim to people new to it is; start from "the inside out" on a QWERTY keyboard and assume most people are right-handed. By that, I mean the hjkl navigation keys are the first kind of navigation people want to do and are conveniently easily typed with the right hand in a traditional "home-row" position. Next, very common editing commands are associated with home-row keys associated with the lef…
Re: Show HN: Hardtime.nvim – break bad habits and master Vim motions
#74Earlier quoted context omitted.
I waited as well long time, but after switching my tooling and usage has improved a lot since lot of progressive community around modern tools that NVim supports. So I encourage to take a look. I still keep vim configuration around but I've never felt the need for going back.
I'm making my (probably) 4th attempt in migrating from regular Vim to NeoVim, and while it's better now, the learning curve is still steep as hell. Going the kickstart.nvim route this time and boy, half of the stuff there is pure magic. Honestly feels like reading Nix incantations. Dynamic nature of Lua makes it even harder. Thankfully ChatGPT is pretty good in generating configs.
I switched few years ago, and the switch was instant.
Afaik Neovim is fully backward compatible, unless maybe for some obscure features.
Re: Show HN: Hardtime.nvim – break bad habits and master Vim motions
#75This looks great! Is it compatible with lazyvim's installations? Because I could not get it working and I suspect it is conflicting with some other plugin
Re: Show HN: Hardtime.nvim – break bad habits and master Vim motions
#76I always find it funny when people say to not repeat h-l, w-W keys for horizontal movement. No way I am starting to count how many characters there are in front of my cursor just to have the satisfaction of typing "31-l"... I am totally going to spam some 2w 3w llll until I reach the desired position.
I think it's more about getting used to f-F,t-T,A,I, and which can be quicker especially with code. You can also add easymotion or similar plugins for the powered version of those.
https://stackoverflow.com/questions/12495442/what-do-the-f-a...
Re: Show HN: Hardtime.nvim – break bad habits and master Vim motions
#77The way I like to explain vim to people new to it is; start from "the inside out" on a QWERTY keyboard and assume most people are right-handed. By that, I mean the hjkl navigation keys are the first kind of navigation people want to do and are conveniently easily typed with the right hand in a traditional "home-row" position. Next, very common editing commands are associated with home-row keys associated with the lef…
Re: Show HN: Hardtime.nvim – break bad habits and master Vim motions
#78Re: Show HN: Hardtime.nvim – break bad habits and master Vim motions
#79The way I like to explain vim to people new to it is; start from "the inside out" on a QWERTY keyboard and assume most people are right-handed. By that, I mean the hjkl navigation keys are the first kind of navigation people want to do and are conveniently easily typed with the right hand in a traditional "home-row" position. Next, very common editing commands are associated with home-row keys associated with the lef…
Interestingly enough, many games on PC standardized the WASD keys for moving, which might be seen as "left-handed". However when touch-typing, there isn't really a difference between left and right hands.
Re: Show HN: Hardtime.nvim – break bad habits and master Vim motions
#80I always find it funny when people say to not repeat h-l, w-W keys for horizontal movement. No way I am starting to count how many characters there are in front of my cursor just to have the satisfaction of typing "31-l"... I am totally going to spam some 2w 3w llll until I reach the desired position.
I think it's more about getting used to f-F,t-T,A,I, and which can be quicker especially with code. You can also add easymotion or similar plugins for the powered version of those.
Example: d / foo, first foo will be highlighted, use CTRL-G to select the next one if not correct (repeat if necessary; CTRL-T cycles backwards), ENTER to delete until highlighted section.
Unfortunately CTRL-G is not implemented in IdeaVIM.