aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Christian Pohle2018-05-07 21:57:37 +0200
committerMax Christian Pohle2018-05-07 21:57:37 +0200
commitd17b7d981e567ce650a2f940436ea8f5217f0e8c (patch)
treed07ab478d208b33cd87d817c96456e19019f2a65
parent4d2197e5b4c86201dff8999746d70a8d15184469 (diff)
downloadvim-d17b7d981e567ce650a2f940436ea8f5217f0e8c.tar.bz2
vim-d17b7d981e567ce650a2f940436ea8f5217f0e8c.zip
Working version with wrong colors
-rw-r--r--vimrc-custom-statusline31
1 files changed, 16 insertions, 15 deletions
diff --git a/vimrc-custom-statusline b/vimrc-custom-statusline
index 46ddbe9..e57c697 100644
--- a/vimrc-custom-statusline
+++ b/vimrc-custom-statusline
@@ -756,32 +756,33 @@ set statusline+=%1*
756set statusline+=%{(&readonly\ ?\ '\ \ \ '\ :\ '')} 756set statusline+=%{(&readonly\ ?\ '\ \ \ '\ :\ '')}
757set statusline+=%{(&modified\ ?\ nr2char(0xF0C7).'\ '\ :\ '')} 757set statusline+=%{(&modified\ ?\ nr2char(0xF0C7).'\ '\ :\ '')}
758set statusline+=%(%w%h%q\ %-8{mode()}%) 758set statusline+=%(%w%h%q\ %-8{mode()}%)
759set statusline+=%{nr2char(0xE0BD)} 759set statusline+=%{nr2char(0xe621)}
760set statusline+=%(\ %{fnamemodify(getcwd(),\ ':~')}\ %) 760set statusline+=%(\ %{fnamemodify(getcwd(),\ ':~')}\ %)
761set statusline+=%{nr2char(0xE0BD)} 761set statusline+=%{nr2char(0xf44a)}
762set statusline+=%(\ %f\ %) 762set statusline+=%(\ %f\ %)
763set statusline+=%2* 763set statusline+=%2*
764set statusline+=%{nr2char(0xE0B4)\ } 764set statusline+=%{nr2char(0xE0B4)\ }
765set statusline+=%0*
766 765
767set statusline+=%= 766set statusline+=%=
768 767
769set statusline+=%2* 768set statusline+=%2*
770set statusline+=%{nr2char(0xE0B6)} 769set statusline+=%{nr2char(0xE0B6)}
771set statusline+=%1* 770set statusline+=%1*
771set statusline+=%1(%) " a single space
772set statusline+=%{\ &filetype} 772set statusline+=%{\ &filetype}
773set statusline+=%(\ %{nr2char(0xE0B9)}\ %) 773set statusline+=%(\ %{nr2char(0xe621)}\ %)
774set statusline+=%{&fileencoding} 774set statusline+=%{&fileencoding}
775set statusline+=%(\ %{nr2char(0xE0B9)}\ %) 775set statusline+=%(\ %{nr2char(0xe621)}\ %)
776set statusline+=%{&fileformat} 776set statusline+=%{&fileformat}
777set statusline+=%(\ %{nr2char(0xE0B9)}\ %) 777set statusline+=%(\ %{nr2char(0xe621)}\ %)
778set statusline+=%4l:%-4c 778set statusline+=%4l:%-4c
779set statusline+=%-3p%% 779set statusline+=%-3p%%
780 780
781 781
782set tabline= 782set tabline=
783set tabline+=%1* 783set tabline+=%1*
784set tabline+=%4(\ %) 784set tabline+=%3(\ %)
785set tabline+=%{nr2char(0xe621)}
785set tabline+=%(%{v:servername}\ %{v:this_session}%) 786set tabline+=%(%{v:servername}\ %{v:this_session}%)
786set tabline+=%2* 787set tabline+=%2*
787set tabline+=%{nr2char(0xE0B4)\ } 788set tabline+=%{nr2char(0xE0B4)\ }
@@ -791,9 +792,9 @@ set tabline+=%=
791set tabline+=%2* 792set tabline+=%2*
792set tabline+=%{nr2char(0xE0B6)} 793set tabline+=%{nr2char(0xE0B6)}
793set tabline+=%1* 794set tabline+=%1*
794set tabline+=%(\ \ %{fugitive#head()}%) 795set tabline+=%(\ \ %{fugitive#head()}\ %)
795set tabline+=%(\ %{nr2char(0xE0B9)}\ %) 796set tabline+=%{nr2char(0xe621)}
796set tabline+=%(\ %{tabpagenr()}/%{tabpagenr('$')}%) 797set tabline+=%(\ \ %{tabpagenr()}/%{tabpagenr('$')}\ %)
797set tabline+=%## 798set tabline+=%##
798" set statusline+=%t%m 799" set statusline+=%t%m
799" set statusline+=%{TagInStatusLine()} 800" set statusline+=%{TagInStatusLine()}
@@ -1103,16 +1104,16 @@ function! ExtendColorTheme()
1103 1104
1104 highlight! link Convention Error 1105 highlight! link Convention Error
1105 1106
1106 highlight! StatusLine gui=NONE guibg=NONE guifg=#ffff00 1107 " highlight! StatusLineHighlight gui=inverse
1107 highlight! StatusLineNC gui=NONE guibg=NONE
1108 " " highlight! StatusLineHighlight gui=inverse
1109 " " highlight! StatusLineInverse gui=NONE 1108 " " highlight! StatusLineInverse gui=NONE
1110 " highlight! link StatusLineHighlight StatusLineNC 1109 " highlight! link StatusLineHighlight StatusLineNC
1111 " highlight! link StatusLineInverse StatusLine 1110 " highlight! link StatusLineInverse StatusLine
1112 1111
1113 highlight! User1 guibg=NONE guifg=NONE gui=inverse 1112 highlight! StatusLine gui=NONE guibg=#000000 guifg=#ffffaa
1114 highlight! User2 guibg=NONE guifg=NONE gui=NONE 1113 " highlight! StatusLineNC gui=NONE
1115 1114
1115 highlight! User1 guibg=#00000f guifg=#ffffaa gui=NONE
1116 highlight! User2 guibg=NONE guifg=#00000f gui=NONE
1116 " autocmd InsertLeave * call matchadd('Conceal', ' \+$', -1, 101, { 'conceal': '⟶' }) 1117 " autocmd InsertLeave * call matchadd('Conceal', ' \+$', -1, 101, { 'conceal': '⟶' })
1117 autocmd InsertEnter * silent! call matchdelete(101) 1118 autocmd InsertEnter * silent! call matchdelete(101)
1118 autocmd InsertLeave * call matchadd('Convention', ' \+$', -1, 101, { 'conceal': '⟶' }) 1119 autocmd InsertLeave * call matchadd('Convention', ' \+$', -1, 101, { 'conceal': '⟶' })
..