this post was submitted on 07 Aug 2024
526 points (97.0% liked)
Technology
59578 readers
5141 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Have you ever learned about the following in VIM:
H
,M
,L
,22H
, ...,: vertical cursor placementzt
,z0
,zb
: vertical scroll positioning0
,$
,gm
,gM
: horizontal cursor placementw
,e
,b
: word based cursor movementSimply holding
j
ork
at times also works, even more so with a decently high key repeat rate.Of course there's a lot more: https://vimhelp.org/motion.txt.html
The trick is to only learn a couple new movement mappings at a time and use them during one's workflow for a while, up until they feel ingrained. Then repeat, iteratively building up one's movement skills in VIM.
One can say many things about VIM, but not that learning it's movement mappings will make your required APM (let alone mouse clicks) go up to "get stuff done". Honestly, once a basic set of these movements has been learned, any other editor without them will feel like a drag.