Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes, gt and gT are the way to do this.

Admittedly I wouldn't personally recommend those mappings, because both already correspond to commands I use quite frequently. By default Y is synonym for yy, to yank a whole line, and T<char> moves back to the nearest instance of <char> on the current line. The first one I think people could live without, but the latter is kind of important for good vi.



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

Search: