From 5f845bc04e684cc2a04406d450b18e56f2561bc9 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Wed, 11 Mar 2015 12:48:15 -0700 Subject: [PATCH] session killing --- home/vimrc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/home/vimrc b/home/vimrc index d251c94..ea44770 100644 --- a/home/vimrc +++ b/home/vimrc @@ -118,6 +118,11 @@ fu! LoadSession() endif endf +fu! KillSession() + let sf=g:rcvim.'/.session.vim' + call delete(sf) +endf + fu! TabFour() setlocal tabstop=8 shiftwidth=4 expandtab softtabstop=4 endf @@ -197,8 +202,8 @@ Inn :e! Inn :bd! Inn :wall Inn :tab ball -Inn :qall -Inn :qall! +Inn :call KillSession():qall +Inn :call KillSession():qall! " np++ habits Inn @@ -243,6 +248,7 @@ nn s :call SyntaxAttr() nn 1 :colo property nn 2 :colo clearance nn 3 :colo Tomorrow-Night +nn 4 :colo jellybeans " misc {{{1