From 5ef83e6671e6436b4e0e5953c67a49bb0e73ea3f Mon Sep 17 00:00:00 2001 From: Ryan Rueger Date: Wed, 16 Apr 2025 16:39:14 +0200 Subject: Allow overriding colors from vim configuration --- README.md | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 2170c53..5bd82f7 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,13 @@ Features: * *(Git information)* Display git branch with insertions and deletions +##### Statusline Options + +``` +let g:statusryne_word_char_count = '0' +let g:statusryne_change_colors = '1' +``` + #### Tabline ![Preview of tabline](screenshots/statusryne-tabline.png) @@ -49,8 +56,45 @@ Features: displayed. If a tab is open on two open buffers, the active buffer will be highlighted in a darker colour. +##### Tabline Options + +``` +let g:statusryne_tabline_equal_width = '0' +``` + #### Colours +``` +" Focused window +let g:statusryne_colorfg_statusline='008' +let g:statusryne_colorbg_statusline='007' + +" Non-focused window ('non-current' in vim nomenclature) +let g:statusryne_colorfg_statusline_nc='008' +let g:statusryne_colorbg_statusline_nc='007' + +" Colors of additional statistics/filetype section +let g:statusryne_colorfg_extra='015' +let g:statusryne_colorbg_extra='014' +let g:statusryne_colorfg_mode='015' +let g:statusryne_colorbg_mode='008' + +" Background colors for different modes +let g:statusryne_colorbg_mode_normal='008' +let g:statusryne_colorbg_mode_visual='005' +let g:statusryne_colorbg_mode_insert='004' +let g:statusryne_colorbg_mode_replace='001' +let g:statusryne_colorbg_mode_other='010' + +" Tabline colors +" Selected tab +let g:statusryne_colorfg_tablinesel='007' +let g:statusryne_colorbg_tablinesel='008' +" Non-Selected tab +let g:statusryne_colorfg_tabline='008' +let g:statusryne_colorbg_tabline='007' +``` + I am using Ethan Schoonover's light solarized colour scheme with a slight modification of the base colour. This is done by setting the colours in the terminal emulator (`alacritty` in my case) explicitly, and then using relative @@ -83,3 +127,7 @@ colors: cyan: '0x93a1a1' white: '0xf2f1f0' # Original: 0xfdf6e3 ``` + +#### Bugs + + -- cgit v1.2.3-70-g09d2