diff --git a/colors.vim b/colors.vim index 8a3902d..da9a5a4 100644 --- a/colors.vim +++ b/colors.vim @@ -16,11 +16,21 @@ highlight Identifier ctermfg=13 highlight Constant ctermfg=03 highlight Function ctermfg=02 highlight Include ctermfg=04 -highlight Statement ctermfg=05 +highlight Statement ctermfg=11 highlight String ctermfg=03 highlight Number ctermfg=04 highlight Conceal ctermfg=none ctermbg=none +" Text +highlight Title ctermfg=04 +highlight Special ctermfg=12 +highlight Delimiter ctermfg=01 +highlight PandocReferenceURL ctermfg=03 +highlight PandocCiteKey ctermfg=06 +highlight PandocTableDelims ctermfg=08 +highlight texBeginEndName ctermfg=02 +highlight Error ctermfg=none ctermbg=none cterm=underline + " Editor UI highlight NonText ctermfg=00 highlight Visual ctermfg=none ctermbg=00 diff --git a/init.vim b/init.vim index d37356f..d13c73c 100644 --- a/init.vim +++ b/init.vim @@ -123,6 +123,12 @@ xnoremap p p:let @+=@0 " save with sudo cmap w!! w !sudo tee > /dev/null % +" show highlight group under cursor +map g :echo "hi<" . synIDattr(synID(line("."),col("."),1),"name") . '> trans<' +\ . synIDattr(synID(line("."),col("."),0),"name") . "> lo<" +\ . synIDattr(synIDtrans(synID(line("."),col("."),1)),"name") . ">" + + "" "" Plugin options