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

I just press and hold j until i'm on the line i want to be on if it's that close.

otherwise ctrl-f and u coupled with zz to center it

gd for go to definition.

using { and } for paragraph navigation is also useful. / is nice for words you know coupled with n and N

and using something like an outline is also nice to use when visually selecting.(i've been using neovim as a backend for vscode so this is built in) and if you use vscode they have a nice go back out feature too ctrl + - (which i forget what it is in vim but probably gb if i had to guess but you are limited to how vim works in that regard.



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

Search: