1
0

Add jump to jumplist

This commit is contained in:
Stefan Rakel
2025-11-03 10:53:48 +01:00
parent 344de7e714
commit f5ddb8795e

View File

@@ -96,6 +96,8 @@ function M.jumpToBookmark()
if item then if item then
vim.cmd("edit " .. item.file) vim.cmd("edit " .. item.file)
vim.api.nvim_win_set_cursor(0, item.cursor) vim.api.nvim_win_set_cursor(0, item.cursor)
--set jump in jumplist
vim.cmd("normal! m'")
end end
end)) end))
end end