Vim: Make session saving keybinds

This commit is contained in:
Salt 2019-02-06 13:41:29 -06:00
parent 8715e47758
commit 1445e2d445

4
.vimrc
View File

@ -48,6 +48,10 @@ set splitright
set modeline set modeline
set modelines=5 set modelines=5
" Session saving
map <F2> :mksession! ~/.vim_session <cr> " Quick write session with F2
map <F3> :source ~/.vim_session <cr> " And load session with F3
" Use XA_PRIMARY clipboard by default " Use XA_PRIMARY clipboard by default
set clipboard=unnamedplus set clipboard=unnamedplus