Skip to content

Comment on Finding your way in vim: tags, cscope, grep and moreparent

Comments

You might try using sessions instead. In my vimrc, I have this line:

    nnoremap <Leader>q :mks!<CR>:qall!<CR>
And in my .bashrc I have this line:
    alias vv=vim -S
Once you have all the files you want open and arranged the way you like, save it all and then hit \q to save the session and quit. Then, instead of vim, use vv to go right back to your session. That's how I do it, anyway.
AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.