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

Oh neat! I didn't know about global marks before.


Capital letters and numbers are global, lowercase is buffer local. There are also dynamic marks that vim sets which you can use instead of manually navigating or setting marks. For example, g'. will go to the position of the last change. You can use :help marks to get a lot more info.




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

Search: