From da29d4a83892483c8f5a391e4746ade654b9eee6 Mon Sep 17 00:00:00 2001 From: ManjaroOne666 Date: Tue, 17 Apr 2018 17:47:15 +0100 Subject: [PATCH] removed obsession status and current register --- vimrc.d/statusline.vim | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/vimrc.d/statusline.vim b/vimrc.d/statusline.vim index c55a3bd..39252f6 100644 --- a/vimrc.d/statusline.vim +++ b/vimrc.d/statusline.vim @@ -112,20 +112,6 @@ function! GetStatus(isactive) "{{{ endif "}}} - " current register - if a:isactive "{{{ - let l:statusline.=l:separator . l:active - let l:statusline.=' %#StatusLineActiveQuotes#"' . l:active . '%{v:register}%#StatusLineActiveQuotes#" ' - endif -"}}} - - " session status - if a:isactive "{{{ - let l:statusline.=l:separator . l:active - let l:statusline.=" %{ObsessionStatus(fnamemodify(v:this_session,':t'),'---')} %*" - let l:statusline.=l:separator . l:active - endif -"}}} " file info if a:isactive == 1 "{{{ @@ -217,6 +203,7 @@ function! GetStatus(isactive) "{{{ endfunction "}}} + function! DoInsertEnter() set cursorline"{{{