Last active
February 18, 2022 11:53
-
-
Save robmiller/5135652 to your computer and use it in GitHub Desktop.
Autoload sessions created by tpope's vim-obsession when starting Vim.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
augroup sourcesession | |
autocmd! | |
autocmd VimEnter * nested | |
\ if !argc() && empty(v:this_session) && filereadable('Session.vim') | | |
\ source Session.vim | | |
\ endif | |
augroup END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment