Give me neovim lua equivalent of <C-o> and <C-i> - jump back and forward in jumplist
- User
Give me neovim lua equivalent of and - jump back and forward in jumplist
- Assistant
In Neovim,
<C-o>(Control + o) and<C-i>(Control + i) are used in normal mode to jump backward and forward in the jumplist, respectively.If you're looking for Lua equivalents in your Neovim configuration or plugin development (using Lua API), you can simulate the behavior of these commands using
vim.cmdto execute the appropriate normal mode commands.Lua equivalents for
<C-o>and<C-i>:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.