Hacker News new | past | comments | ask | show | jobs | submit login

Regarding to the remapping for Y, I also only memorized y$, c$, and d$ and they seem more natural to use for me.

Therefore, I remap D to delete the whole line, but do not put it into any register. This allows me to cut a line with dd, while I can throw away a few other lines with D to clean up around the target location, before finally pasting with p.

nmap D "_dd vmap D "_dd




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: