forked from rafi/vim-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmarks.lua
25 lines (24 loc) · 1023 Bytes
/
marks.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
-- plugin: marks.nvim
-- see: https://github.com/chentau/marks.nvim
-- rafi settings
require'marks'.setup({
-- whether to map keybinds or not.
default_mappings = true,
-- which builtin marks to show. default {}
-- builtin_marks = { '.', '<', '>', '^' },
-- whether movements cycle back to the beginning/end of buffer.
cyclic = true,
-- whether the shada file is updated after modifying uppercase marks.
force_write_shada = false,
-- how often (in ms) to redraw signs/recompute mark positions.
-- higher values will have better performance but may cause visual lag,
-- while lower values may cause performance penalties. default 150.
refresh_interval = 250,
-- sign priorities for each type of mark - builtin marks, uppercase marks, lowercase
-- marks, and bookmarks.
-- can be either a table with all/none of the keys, or a single number, in which case
-- the priority applies to all marks.
sign_priority = { lower=10, upper=15, builtin=8, bookmark=20 },
bookmark_0 = { sign = '⚑' },
mappings = {}
})