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

希望能支持定义查找键,谢谢 #12

Open
ghrejoe opened this issue Oct 20, 2023 · 2 comments
Open

希望能支持定义查找键,谢谢 #12

ghrejoe opened this issue Oct 20, 2023 · 2 comments

Comments

@ghrejoe
Copy link

ghrejoe commented Oct 20, 2023

之前一直用 ' 来调起easymotion,现在换了flash,希望能把f改成 '
还发现一个问题,安装cvim后还是不习惯f被占用,禁用flash发现f原生功能没了

@fengstats
Copy link

fengstats commented Oct 21, 2023

试试在 VS Code 的 settings.json 配置文件中添加:

"vim.normalModeKeyBindingsNonRecursive": [
    // 还原 f 的原生命令
    { "before": ["f"], "after": ["\\"] },
    // 将 fash.vim 查找键设置为 '
    { "before": ["'"], "after": ["f"] },
]

@ghrejoe
Copy link
Author

ghrejoe commented Oct 21, 2023

或许可以在 vsc 的 settings.json 中配置一下就能解决你的问题:

"vim.normalModeKeyBindingsNonRecursive": [
    // 还原 f 的原生命令
    { "before": ["f"], "after": ["\\"] },
    // 将 fash.vim 查找键设置为 '
    { "before": ["'"], "after": ["f"] },
]

可以了,感谢!

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

2 participants