Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is toggle mapping f and t functioning? #6

Open
Maxlufs opened this issue Sep 28, 2014 · 2 comments
Open

is toggle mapping f and t functioning? #6

Maxlufs opened this issue Sep 28, 2014 · 2 comments

Comments

@Maxlufs
Copy link

Maxlufs commented Sep 28, 2014

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!

@darlingm
Copy link

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.

@aoswalt
Copy link

aoswalt commented Mar 18, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants