Sometimes, I split my VIM to 4 windows, and open different files in these windows. I want to know if I can save current scenario to a register, and get it back whenever I want?
You can save it into the file. You can read about it here: :help mksession
You also can use plugins to manage sessions, for instance, session.vim.
Right now i don't know how to save it to a register instead of file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With