Closed Vozf closed 3 years ago
We add the jump locations to the IntelliJ Platform history, however IdeaVim probably does not read from this. Is there an extension point for adding jump locations to the IdeaVim jump list? @AlexPl292
IdeaVim doesn't currently support jump lists: https://github.com/JetBrains/ideavim#summary-of-supported-vim-features
Although Ctrl+o and Ctrl+i are working in IdeaVim.
One way is to use IDE's actions for this:
nnoremap <c-o> :action Back<cr>
nnoremap <c-i> :action Forward<cr>
The integration between IdeaVim and AceJump is presented in https://github.com/AlexPl292/IdeaVim-EasyMotion. The feature in question is supported since v1.2 (no need to enable easymotion emulation via set easymotion
).
cc @breandan
Great! Although there still appears to be a discrepancy between the Back/Forward action behavior of the IntelliJ Platform (via IdeDocumentHistoryImpl
) and the way <C-o>
/<C-i>
are handled in IdeaVim. Is it possible to merge them or is the default Vim behavior incompatible with the platform implementation?
Yes, unfortunatelly. We are going to work with it along with reviewing this PR https://github.com/JetBrains/ideavim/pull/224
I believe this issue has been fixed and is now supported by IdeaVim.
it would be great if acejump jumps would be added to the vim jump list so jumping to previous location using ctrl+o and ctrl+i is possible ref https://vim.fandom.com/wiki/Jumping_to_previously_visited_locations