diff options
author | Max Christian Pohle | 2018-05-07 21:57:37 +0200 |
---|---|---|
committer | Max Christian Pohle | 2018-05-07 21:57:37 +0200 |
commit | d17b7d981e567ce650a2f940436ea8f5217f0e8c (patch) | |
tree | d07ab478d208b33cd87d817c96456e19019f2a65 | |
parent | 4d2197e5b4c86201dff8999746d70a8d15184469 (diff) | |
download | vim-d17b7d981e567ce650a2f940436ea8f5217f0e8c.tar.bz2 vim-d17b7d981e567ce650a2f940436ea8f5217f0e8c.zip |
Working version with wrong colors
-rw-r--r-- | vimrc-custom-statusline | 31 |
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* | |||
756 | set statusline+=%{(&readonly\ ?\ '\ \ \ '\ :\ '')} | 756 | set statusline+=%{(&readonly\ ?\ '\ \ \ '\ :\ '')} |
757 | set statusline+=%{(&modified\ ?\ nr2char(0xF0C7).'\ '\ :\ '')} | 757 | set statusline+=%{(&modified\ ?\ nr2char(0xF0C7).'\ '\ :\ '')} |
758 | set statusline+=%(%w%h%q\ %-8{mode()}%) | 758 | set statusline+=%(%w%h%q\ %-8{mode()}%) |
759 | set statusline+=%{nr2char(0xE0BD)} | 759 | set statusline+=%{nr2char(0xe621)} |
760 | set statusline+=%(\ %{fnamemodify(getcwd(),\ ':~')}\ %) | 760 | set statusline+=%(\ %{fnamemodify(getcwd(),\ ':~')}\ %) |
761 | set statusline+=%{nr2char(0xE0BD)} | 761 | set statusline+=%{nr2char(0xf44a)} |
762 | set statusline+=%(\ %f\ %) | 762 | set statusline+=%(\ %f\ %) |
763 | set statusline+=%2* | 763 | set statusline+=%2* |
764 | set statusline+=%{nr2char(0xE0B4)\ } | 764 | set statusline+=%{nr2char(0xE0B4)\ } |
765 | set statusline+=%0* | ||
766 | 765 | ||
767 | set statusline+=%= | 766 | set statusline+=%= |
768 | 767 | ||
769 | set statusline+=%2* | 768 | set statusline+=%2* |
770 | set statusline+=%{nr2char(0xE0B6)} | 769 | set statusline+=%{nr2char(0xE0B6)} |
771 | set statusline+=%1* | 770 | set statusline+=%1* |
771 | set statusline+=%1(%) " a single space | ||
772 | set statusline+=%{\ &filetype} | 772 | set statusline+=%{\ &filetype} |
773 | set statusline+=%(\ %{nr2char(0xE0B9)}\ %) | 773 | set statusline+=%(\ %{nr2char(0xe621)}\ %) |
774 | set statusline+=%{&fileencoding} | 774 | set statusline+=%{&fileencoding} |
775 | set statusline+=%(\ %{nr2char(0xE0B9)}\ %) | 775 | set statusline+=%(\ %{nr2char(0xe621)}\ %) |
776 | set statusline+=%{&fileformat} | 776 | set statusline+=%{&fileformat} |
777 | set statusline+=%(\ %{nr2char(0xE0B9)}\ %) | 777 | set statusline+=%(\ %{nr2char(0xe621)}\ %) |
778 | set statusline+=%4l:%-4c | 778 | set statusline+=%4l:%-4c |
779 | set statusline+=%-3p%% | 779 | set statusline+=%-3p%% |
780 | 780 | ||
781 | 781 | ||
782 | set tabline= | 782 | set tabline= |
783 | set tabline+=%1* | 783 | set tabline+=%1* |
784 | set tabline+=%4(\ %) | 784 | set tabline+=%3(\ %) |
785 | set tabline+=%{nr2char(0xe621)} | ||
785 | set tabline+=%(%{v:servername}\ %{v:this_session}%) | 786 | set tabline+=%(%{v:servername}\ %{v:this_session}%) |
786 | set tabline+=%2* | 787 | set tabline+=%2* |
787 | set tabline+=%{nr2char(0xE0B4)\ } | 788 | set tabline+=%{nr2char(0xE0B4)\ } |
@@ -791,9 +792,9 @@ set tabline+=%= | |||
791 | set tabline+=%2* | 792 | set tabline+=%2* |
792 | set tabline+=%{nr2char(0xE0B6)} | 793 | set tabline+=%{nr2char(0xE0B6)} |
793 | set tabline+=%1* | 794 | set tabline+=%1* |
794 | set tabline+=%(\ \ %{fugitive#head()}%) | 795 | set tabline+=%(\ \ %{fugitive#head()}\ %) |
795 | set tabline+=%(\ %{nr2char(0xE0B9)}\ %) | 796 | set tabline+=%{nr2char(0xe621)} |
796 | set tabline+=%(\ %{tabpagenr()}/%{tabpagenr('$')}%) | 797 | set tabline+=%(\ \ %{tabpagenr()}/%{tabpagenr('$')}\ %) |
797 | set tabline+=%## | 798 | set 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': '⟶' }) |