Skip to content

Commit 8fda89c

Browse files
committed
vim: Allow jump list to jump back
1 parent 61ec250 commit 8fda89c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

base/nvim/lua/my/general.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ function M.setup()
1919
set.termguicolors = true
2020
set.background = "dark"
2121

22+
-- Allow ctrl-O to jump back to closed buffers.
23+
-- See https://github.com/neovim/neovim/issues/28968
24+
set.jumpoptions:remove({ "clean" })
25+
2226
-- Always show signs
2327
set.signcolumn = "yes:1"
2428

0 commit comments

Comments
 (0)