Update README.md

This commit is contained in:
Daniel Mathiot
2022-01-08 13:34:58 +01:00
committed by GitHub
parent d16557c3e6
commit 0fdfd7ee82

View File

@@ -88,7 +88,8 @@ To configure it to the keybind of your choice, you can do something like this:
```lua ```lua
local opts = { noremap = true, silent = true } local opts = { noremap = true, silent = true }
vim.api.nvim_set_keymap("n", "<C-e>", ":lua require('neogen').jump_next()<CR>", opts) vim.api.nvim_set_keymap("n", "<C-n>", ":lua require('neogen').jump_next()<CR>", opts)
vim.api.nvim_set_keymap("n", "<C-p>", ":lua require('neogen').jump_prev()<CR>", opts)
``` ```
If you want to use a key that's already used for completion purposes, take a look at the code snippet here: If you want to use a key that's already used for completion purposes, take a look at the code snippet here: