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

key mappings doesn't work? #33

Closed
LeoSunTL opened this issue Sep 27, 2022 · 1 comment
Closed

key mappings doesn't work? #33

LeoSunTL opened this issue Sep 27, 2022 · 1 comment

Comments

@LeoSunTL
Copy link

LeoSunTL commented Sep 27, 2022

Hi there, I tried different ways to configure keymaps, unfortunately, none of them works:

default_mappings = true,
mappings = {
        gl = 'lua vim.diagnostic.open_float()',
        gr = 'lua vim.lsp.buf.definition()',
        gd = 'lua require"telescope.builtin".lsp_definitions()',
}
default_mappings = false,
mappings = {
        gl = 'lua vim.diagnostic.open_float()',
        gr = 'lua vim.lsp.buf.definition()',
        gd = 'lua require"telescope.builtin".lsp_definitions()',
}

can you guys give me some hints on what could go wrong?

ps, even default keymappings don't work either, for instance, 'gi' just goes to insert mode instead of goto implementation.

@LeoSunTL
Copy link
Author

Sorry I missed up setup configs. now it works. here is my working setup.

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

1 participant