About cool ways to use file marks
File marks in vim are just marks made with [A-Z]
. They have the delightful property that they persist (via .viminfo
) across sessions without needing a session (depending on your settings). I've known about them for a while, but I wasn't sure if there was really a way that I could come up with the use them. So I went out looking and found something that I like!
`T -> project todo file
`V -> .vimrc
I'll probably come up with some other ideas based on the invariant files that I frequently visit, but these two are definitely going into my rotation. I'm also thinking that at least one more should be added:
`L -> TIL file (ABT - always be TILin)
Tweet