Add vim-new function to complement vim-resume

This commit is contained in:
Nicole Tietz-Sokolskaya 2023-08-27 21:51:05 -04:00
parent 57c42233a3
commit f4ab7035c4
2 changed files with 6 additions and 0 deletions

View File

@ -43,6 +43,11 @@ fi
alias vim="nvim" alias vim="nvim"
function vim-new {
rm -f Session.vim
vim -c "Obsession"
}
function vim-resume { function vim-resume {
if test -f "Session.vim"; then if test -f "Session.vim"; then
vim -S Session.vim vim -S Session.vim

View File

@ -3,3 +3,4 @@ set background=light
colorscheme base16-grayscale-light colorscheme base16-grayscale-light
"colorscheme off "colorscheme off
"syntax off