summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2019-03-25 08:36:24 +0100
committerFlorian Pritz <bluewind@xinu.at>2019-03-27 14:38:01 +0100
commit56234c05d26af4187f4748f422d66dd8ad292b42 (patch)
treef102140ce6be1caa25de28f0b7f564a24de2f1c3
parentcb1f001f67f4cffdb99459d656d020ee4cf00053 (diff)
downloaddotfiles-56234c05d26af4187f4748f422d66dd8ad292b42.tar.gz
dotfiles-56234c05d26af4187f4748f422d66dd8ad292b42.tar.xz
vimrc: Only restore session in empty vim
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r--.vimrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 55f6fe7..4ac781b 100644
--- a/.vimrc
+++ b/.vimrc
@@ -320,6 +320,7 @@ endfunction
"let g:workspace_autosave_always = 1
let g:workspace_autosave_untrailspaces = 0
let g:workspace_autosave_ignore = ['gitcommit']
+let g:workspace_session_disable_on_args = 1
nnoremap <leader>ss :ToggleWorkspace<CR>
" Custom mappings for the unite buffer