We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I can be totally wrong of course, but in the documentation these keymaps are presented (https://github.com/danymat/neogen?tab=readme-ov-file#default-cycling-support)
local opts = { noremap = true, silent = true } vim.api.nvim_set_keymap("i", "<C-l>", ":lua require('neogen').jump_next<CR>", opts) vim.api.nvim_set_keymap("i", "<C-h>", ":lua require('neogen').jump_prev<CR>", opts)
Aren't they wrong and should be instead
local opts = { noremap = true, silent = true } vim.api.nvim_set_keymap("i", "<C-l>", "<cmd>lua require('neogen').jump_next()<CR>", opts) vim.api.nvim_set_keymap("i", "<C-h>", "<cmd>lua require('neogen').jump_prev()<CR>", opts)
Note the change of : with <cmd> (to avoid just writing it in insert mode) and the missing brackets at the end of the functions.
:
<cmd>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I can be totally wrong of course, but in the documentation these keymaps are presented (https://github.com/danymat/neogen?tab=readme-ov-file#default-cycling-support)
Aren't they wrong and should be instead
Note the change of
:
with<cmd>
(to avoid just writing it in insert mode) and the missing brackets at the end of the functions.The text was updated successfully, but these errors were encountered: