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 there any way to remap the easymotion keys? #1481
Comments
It sounds like you're talking about theming VSCode, which is totally separate from VSCodeVim! Check here https://code.visualstudio.com/docs/getstarted/themes |
OHH, those themes! My bad! Yeah huh.. those should probably be re-themeable, sure. To be honest, the unfortunate truth about extensions (e.g. EasyMotion) is that they're mostly community supported, as it's just too much effort for me to maintain both Vim and an extension ecosystem. You may be able to convince @xconverge if you ask really nicely, but that guy is pretty busy too haha. :P |
@edasaki we DO allow you to change the color from here https://github.com/VSCodeVim/Vim#how-to-use-easymotion "If you set vim.easymotionChangeBackgroundColor to true you can use the searchHightlightColor as the background color for the text decorations, however you then lose the red/orange indicators on whether it is a one key or two key combination since the font color needs to stay readable." |
I analyze the colors and then set the font to either white or black based on the search highlight color you use |
{
"vim.otherModesKeyBindingsNonRecursive": [
{
"before": ["s"],
"after": ["leader", "leader", "s"]
}]
} |
Thank you so much @FelikZ , that worked! And thank you too @xconverge! That's fine for me |
There is 1 related bug that is somewhat funny though :) #1426, feel free to thumbs up it if it impacts you Thanks |
This doesn't work... has the command changed? 😄 |
Test this code. "vim.normalModeKeyBindingsNonRecursive": [
{
"before": ["s"],
"after": ["leader", "leader", "s"]
}
] |
What would the binding syntax be if you want to search by two chars?
|
"vim.normalModeKeyBindingsNonRecursive": [
{
"before": ["f"],
"after": ["leader", "leader", "2", "s"]
}
] |
In vim I have the "Search Character" set to just s since I never really use the actual s in insert mode.
Is it possible to change the binding in vscodevim? I use the search a lot but pressing the leader twice is a bit tiring sometimes.
And kind of vaguely related, is it possible to change the red/orange font colors? I want to keep the black background but the red/orange is a bit hard to read for me.
The text was updated successfully, but these errors were encountered: