summaryrefslogtreecommitdiff
path: root/lib/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vimrc')
-rw-r--r--lib/vimrc38
1 files changed, 38 insertions, 0 deletions
diff --git a/lib/vimrc b/lib/vimrc
index f585f90..4868b2f 100644
--- a/lib/vimrc
+++ b/lib/vimrc
@@ -95,6 +95,15 @@ set termguicolors
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
+""" Show highlighting groups for current word
+nmap <C-S-P> :call <SID>SynStack()<CR>
+function! <SID>SynStack()
+ if !exists("*synstack")
+ return
+ endif
+ echo map(synstack(line('.'), col('.')), 'synIDattr(v:val, "name")')
+endfunc
+
""" Plugins with vim-plug
" 2019.06.11: disabling b/c I'd rather just use nix/home-manager for vim
" plugins, but this is nice code to have for reference too
@@ -104,3 +113,32 @@ let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
" autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
"endif
"so ~/.vim/plugins.vim
+
+""" My personal colorscheme:
+syntax off
+set background=dark
+highlight clear
+if exists("syntax_on")
+ syntax reset
+endif
+" set g:colors_name="bs-dark"
+
+" purple
+highlight StatusLine guifg=Black guibg=LightMagenta
+highlight StatusLineNC guifg=Black guibg=LightMagenta
+highlight VertSplit guifg=Black guibg=LightMagenta
+highlight Search guifg=Black guibg=LightMagenta
+
+" blue
+highlight clear CursorLine " clear the underline nonsense
+highlight CursorColumn guifg=Black guibg=LightBlue
+highlight CursorLine guifg=Black guibg=LightBlue
+highlight Cursor guifg=Black guibg=LightBlue
+
+" green
+highlight Visual guifg=Black guibg=LightGreen
+highlight DiffAdd guifg=Black guibg=LightGreen
+
+" red
+highlight DiffDelete guifg=Black guibg=LightRed
+