From fc47c6d2f71858eb5557d0827e681e2899300c35 Mon Sep 17 00:00:00 2001 From: Pontus Wiberg Date: Fri, 18 Oct 2019 10:56:10 +0300 Subject: [PATCH 1/3] Add terminal colors for VIM --- colors/one.vim | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/colors/one.vim b/colors/one.vim index 715d9e9..c6267e4 100644 --- a/colors/one.vim +++ b/colors/one.vim @@ -843,7 +843,7 @@ if has('gui_running') || has('termguicolors') || &t_Co == 88 || &t_Co == 256 call X('NERDTreeFile', s:syntax_fg, '', '') " }}} - " Neovim Terminal Colors --------------------------------------------------{{{ + " Terminal Colors --------------------------------------------------{{{ if has('nvim') let g:terminal_color_0 = "#353a44" let g:terminal_color_8 = "#353a44" @@ -861,6 +861,25 @@ if has('gui_running') || has('termguicolors') || &t_Co == 88 || &t_Co == 256 let g:terminal_color_14 = "#65c2cd" let g:terminal_color_7 = "#e3e5e9" let g:terminal_color_15 = "#e3e5e9" + elseif has('terminal') + let g:terminal_ansi_colors = [ + \ '#353a44', + \ '#e88388', + \ '#a7cc8c', + \ '#ebca8d', + \ '#72bef2', + \ '#d291e4', + \ '#65c2cd', + \ '#e3e5e9', + \ '#353a44', + \ '#e88388', + \ '#a7cc8c', + \ '#ebca8d', + \ '#72bef2', + \ '#d291e4', + \ '#65c2cd', + \ '#e3e5e9', + \ ] endif " Delete functions =========================================================={{{ From 144779a8d4d3441b60d50370f5797870da74ed0b Mon Sep 17 00:00:00 2001 From: Pontus Wiberg Date: Fri, 18 Oct 2019 15:28:13 +0300 Subject: [PATCH 2/3] Modify IncSearch to be much more visible --- colors/one.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colors/one.vim b/colors/one.vim index c6267e4..1421f6e 100644 --- a/colors/one.vim +++ b/colors/one.vim @@ -367,7 +367,7 @@ if has('gui_running') || has('termguicolors') || &t_Co == 88 || &t_Co == 256 call X('VertSplit', s:vertsplit, '', 'none') call X('Folded', s:syntax_bg, s:syntax_fold_bg, 'none') call X('FoldColumn', s:mono_3, s:syntax_cursor, '') - call X('IncSearch', s:hue_6, '', '') + call X('IncSearch', s:mono_4, s:mono_1, '') call X('LineNr', s:mono_4, '', '') call X('CursorLineNr', s:syntax_fg, s:syntax_cursor, 'none') call X('MatchParen', s:hue_5, s:syntax_cursor, 'underline,bold') From 96bef790b669eee63bb78e4b33042b0b71e93dd7 Mon Sep 17 00:00:00 2001 From: Pontus Wiberg Date: Fri, 18 Oct 2019 15:30:15 +0300 Subject: [PATCH 3/3] Reverse the colors --- colors/one.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colors/one.vim b/colors/one.vim index 1421f6e..274b964 100644 --- a/colors/one.vim +++ b/colors/one.vim @@ -367,7 +367,7 @@ if has('gui_running') || has('termguicolors') || &t_Co == 88 || &t_Co == 256 call X('VertSplit', s:vertsplit, '', 'none') call X('Folded', s:syntax_bg, s:syntax_fold_bg, 'none') call X('FoldColumn', s:mono_3, s:syntax_cursor, '') - call X('IncSearch', s:mono_4, s:mono_1, '') + call X('IncSearch', s:mono_1, s:mono_4, '') call X('LineNr', s:mono_4, '', '') call X('CursorLineNr', s:syntax_fg, s:syntax_cursor, 'none') call X('MatchParen', s:hue_5, s:syntax_cursor, 'underline,bold')