Skip to content

Commit d98e21a

Browse files
committed
使用 '0 不保存 jumps 列表
1 parent 5fc78db commit d98e21a

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

init.lua

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
1-
-- 清理 jumps 列表,防止跳转整到其他项目
2-
vim.cmd([[
3-
augroup kide_clearjumps
4-
autocmd!
5-
autocmd VimEnter * :clearjumps
6-
augroup END
7-
]])
1+
-- 不保存 jumps 列表 '0
2+
vim.opt.shada = "!,'0,<50,s10,h"
83
vim.opt_global.jumpoptions = "stack"
94
vim.opt_global.encoding = "UTF-8"
105
vim.opt.fileencoding = "UTF-8"

0 commit comments

Comments
 (0)