From f5ddb8795e9366d4a7ec8643ae967043740390f6 Mon Sep 17 00:00:00 2001 From: Stefan Rakel Date: Mon, 3 Nov 2025 10:53:48 +0100 Subject: [PATCH] Add jump to jumplist --- lua/bookmark.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/bookmark.lua b/lua/bookmark.lua index 59f4dc3..f50a5d9 100644 --- a/lua/bookmark.lua +++ b/lua/bookmark.lua @@ -96,6 +96,8 @@ function M.jumpToBookmark() if item then vim.cmd("edit " .. item.file) vim.api.nvim_win_set_cursor(0, item.cursor) + --set jump in jumplist + vim.cmd("normal! m'") end end)) end