I've Googled and Yahooed my way around the web trying to find the answer to this to no avail, so I thought I would query this potential gold mine of information. I would really love a way to be able to select a line, or a range of lines, press a button and have them highlighted in a different manner, perhaps with a yellow bg instead of black. I'm not new to scripting vim by any means, but I really can't figure out a way to do this. I suspect it is going to require a per-buffer variable to store the line numbers that I want highlighted, and then some :highlight command, but I can't for the life of me work it out. Or is there some way to make it highlight marked lines differently, I imagine that would work too.
I tend to work with many splits in my vim window, rather than opening multiple instances with different files, and oftentimes I find there are two or three pieces of code in a file that I want to keep track of. Given the size of the codebase that I am working with, any way to speed up navigation would be brilliant. I'm not very keen on marks, because they are such an abstract thing with no indication as to what exactly is marked. If I could have some way of specifying "THIS IS THE FUNCTION THAT YOU MARKED", that would be great. Any ideas? -- Max Dyckhoff AI Engineer Bungie Studios