xterm-color-table.vim icon indicating copy to clipboard operation
xterm-color-table.vim copied to clipboard

is toggle mapping f and t functioning?

Open Maxlufs opened this issue 10 years ago • 2 comments

Hi, not sure if it's just me. It doesn't seem to be working both the mappings of f and t. Nothing happens when i press them in the xterm-color-table buffer, or am i using it wrong? Thanks!

Maxlufs avatar Sep 28 '14 07:09 Maxlufs

Not sure why they can't be properly called... I get: modifiable is off, and when running set modifiable, I get E14: Invalid address To take the easy way out, I made :f show by default. Edit xterm-color-table.vim, and after the line autocmd BufNewFile __XtermColorTable__ call <SID>ColorTable()

Add the line autocmd BufNewFile __XtermColorTable__ call <SID>ToggleRgbVisibility()

I'm sure you can do something similar to call SetRgbForeground(expand('')), but I haven't done that.

darlingm avatar May 25 '15 22:05 darlingm

It turns out that the recursive mappings are the culprit. I have created PR #11 to use non-recursive mappings.

aoswalt avatar Mar 18 '20 17:03 aoswalt