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

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.


Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: