Guide80.5K views3,986 votes0 replies1,413 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.