aboutsummaryrefslogtreecommitdiff
path: root/vim/plugin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-10 22:27:04 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-10 22:27:04 +1200
commit751b3ab33e124ecbcef5ced7305a881431eb15d7 (patch)
tree052d14094a452d49b8293fdfa0f7d3772b9be00c /vim/plugin
parent34cbaea22ecdebd562a0e39f259ef160f81e9fb2 (diff)
downloaddotfiles-751b3ab33e124ecbcef5ced7305a881431eb15d7.tar.gz
dotfiles-751b3ab33e124ecbcef5ced7305a881431eb15d7.zip
Remove session_lazy.vim
I think this is the wrong approach, and maybe even a slight security risk.
Diffstat (limited to 'vim/plugin')
-rw-r--r--vim/plugin/session_lazy.vim23
1 files changed, 0 insertions, 23 deletions
diff --git a/vim/plugin/session_lazy.vim b/vim/plugin/session_lazy.vim
deleted file mode 100644
index d40cb670..00000000
--- a/vim/plugin/session_lazy.vim
+++ /dev/null
@@ -1,23 +0,0 @@
-"
-" session_lazy.vim: Automatically resume a session from the current directory,
-" if no other filename arguments were passed to Vim.
-"
-" Author: Tom Ryder <tom@sanctum.geek.nz>
-" License: Same as Vim itself
-"
-if exists('g:loaded_session_lazy') || &compatible
- finish
-endif
-if !has('autocmd') || v:version < 700
- finish
-endif
-let g:loaded_session_lazy = 1
-
-" Set up
-augroup session
- autocmd!
- autocmd VimEnter *
- \ call session_lazy#Thaw()
- autocmd VimLeavePre *
- \ call session_lazy#Freeze()
-augroup END