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"{{{