commit e91ef4315e657e8692897c709968b925cf7097a8
parent 82d49e7e5a80ab99e82b77a8b64759d3eed71fac
Author: Bharatvaj <bharatvaj@yahoo.com>
Date: Thu, 28 Jul 2022 02:26:28 +0530
Use hyper-red for vim, neovim and less
Diffstat:
6 files changed, 32 insertions(+), 8 deletions(-)
diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua
@@ -44,10 +44,15 @@ augroup END
-- TODO use lua api
vim.cmd('hi StatusLine ctermbg=white ctermfg=red')
vim.cmd('hi StatusLineNC ctermbg=white ctermfg=black')
-vim.cmd('hi LineNr ctermbg=NONE ctermfg=red')
+vim.cmd('hi LineNr ctermbg=NONE ctermfg=DarkGray')
vim.cmd('set fillchars=vert:\\│')
vim.cmd('hi VertSplit term=NONE cterm=NONE gui=NONE')
vim.cmd('hi SignColumn ctermbg=NONE guibg=NONE')
-
-
-
+vim.cmd('hi Comment ctermfg=DarkGray guifg=DarkGray')
+vim.cmd('hi Statement ctermfg=DarkGray guifg=DarkGray')
+vim.cmd('hi Type ctermfg=DarkGray guifg=DarkGray')
+vim.cmd('hi PreProc ctermfg=LightGray guifg=LightGray')
+vim.cmd('hi Constant ctermfg=red guifg=red')
+vim.cmd('hi Special ctermfg=red guifg=red')
+vim.cmd('hi Identifier ctermfg=white guifg=white')
+vim.cmd('hi Visual ctermbg=white ctermfg=black guibg=black guifg=black')
diff --git a/.config/vim/hyper-red.vim b/.config/vim/hyper-red.vim
@@ -0,0 +1,16 @@
+" Hyper Red
+hi StatusLine ctermbg=white ctermfg=red
+hi StatusLineNC ctermbg=white ctermfg=black
+hi LineNr ctermbg=NONE ctermfg=DarkGray
+set fillchars=vert:\│
+hi VertSplit term=NONE cterm=NONE gui=NONE
+hi SignColumn ctermbg=NONE guibg=NONE
+hi Comment ctermfg=DarkGray guifg=DarkGray
+hi Statement ctermfg=DarkGray guifg=DarkGray
+hi Type ctermfg=DarkGray guifg=DarkGray
+hi PreProc ctermfg=LightGray guifg=LightGray
+hi Constant ctermfg=red guifg=red
+hi Special ctermfg=red guifg=red
+hi Identifier ctermfg=white guifg=white
+hi Visual ctermbg=white ctermfg=black guibg=black guifg=black
+
diff --git a/.config/vim/hyper.vim b/.config/vim/hyper.vim
@@ -1,4 +0,0 @@
-hi LineNr guifg=DarkGray ctermfg=DarkGray
-hi LineNrAbove guifg=LightGray ctermfg=LightGray
-hi LineNrBelow guifg=LightGray ctermfg=LightGray
-
diff --git a/.config/vim/themes/themes.vim b/.config/vim/themes/themes.vim
diff --git a/.config/vim/vimrc b/.config/vim/vimrc
@@ -82,6 +82,7 @@ function! s:load_plugins(t) abort
packadd vim-ninja-feet
packadd vim-fugitive
packadd vim-better-whitespace
+ source $XDG_CONFIG_HOME/vim/hyper-red.vim
endfunction
augroup user_cmds
diff --git a/.profile b/.profile
@@ -19,6 +19,7 @@ export XDG_VIDEOS_DIR="$XDG_DATA_HOME/videos"
# Global programs
export VIMINIT="if !has('nvim')
+set nocompatible
source $XDG_CONFIG_HOME/vim/vimrc
endif"
export LESSHISTFILE=-
@@ -93,3 +94,8 @@ export SURFRAW_browser="$BROWSER"
chance "${XDG_CONFIG_HOME}/sh/functions"
chance "${XDG_CONFIG_HOME}/sh/aliases"
chance "${XDG_CONFIG_HOME}/sh/unstaged"
+
+# Theme
+# Hyper Red
+export LESS_TERMCAP_us=$'\E[0;31m'
+export LESS_TERMCAP_ue=$'\E[0m'