Guide80.5K views1,273 votes0 replies3,705 following
Save and Restore Vim Editing Sessions with :mksession and :source
Learn how to use Vim's built-in session files to preserve buffers, window splits, cursor positions, and local options, then restore them exactly after restarting your editor.