rhysd / clever-f.vim

Extended f, F, t and T key mappings for Vim.
https://rhysd.github.io/clever-f.vim
1.01k stars 44 forks source link

underline target characters without changing its color #58

Closed smartding closed 3 years ago

smartding commented 3 years ago

g:clever_f_mark_char_color allows me to set highlight group of target characters, but I just want to underline the target characters while keeping the rest of its original highlight setting. Is this possible?

rhysd commented 3 years ago
" In your .vimrc
autocmd ColorScheme * highlight default CleverFMyOwnLabel cterm=bold,underline gui=bold,underline
let g:clever_f_mark_char = "CleverFMyOwnLabel"

Try this.

smartding commented 3 years ago

thanks.