In neovim, if shortcut for jump to definition
is used (using LSP or otherwise), then one might be confused as to how to go back to the original reference.
So, I’ve compiled the keyboard shortcuts to implement code jump actions, as following:
- use
ctrl + o
to jump backward from pointer positions - use
ctrl + i
to jump back forward from current pointer position (given there is a history of jumping back and forward)
Not knowing how to do this could hinder your vim experience (and would tempt you to go back to whatever GUI based IDE you’d used before). So, this piece of information could be super useful for people new to vim.
That’s it. Take care.
π βΈ» @TnvMadhav