added Precognition, Persistance, leaderW save and other nice updates
This commit is contained in:
parent
0748feb445
commit
1b56f16e49
6 changed files with 183 additions and 25 deletions
37
lua/custom/plugins/precognition.lua
Normal file
37
lua/custom/plugins/precognition.lua
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
return {
|
||||
'tris203/precognition.nvim',
|
||||
--event = "VeryLazy",
|
||||
opts = {
|
||||
startVisible = true,
|
||||
-- showBlankVirtLine = true,
|
||||
-- highlightColor = { link = "Comment" },
|
||||
-- hints = {
|
||||
-- Caret = { text = "^", prio = 2 },
|
||||
-- Dollar = { text = "$", prio = 1 },
|
||||
-- MatchingPair = { text = "%", prio = 5 },
|
||||
-- Zero = { text = "0", prio = 1 },
|
||||
-- w = { text = "w", prio = 10 },
|
||||
-- b = { text = "b", prio = 9 },
|
||||
-- e = { text = "e", prio = 8 },
|
||||
-- W = { text = "W", prio = 7 },
|
||||
-- B = { text = "B", prio = 6 },
|
||||
-- E = { text = "E", prio = 5 },
|
||||
-- },
|
||||
-- gutterHints = {
|
||||
-- G = { text = "G", prio = 10 },
|
||||
-- gg = { text = "gg", prio = 9 },
|
||||
-- PrevParagraph = { text = "{", prio = 8 },
|
||||
-- NextParagraph = { text = "}", prio = 8 },
|
||||
-- },
|
||||
-- disabled_fts = {
|
||||
-- "startify",
|
||||
-- },
|
||||
},
|
||||
keys = {
|
||||
{
|
||||
'<leader>P',
|
||||
'<cmd>Precognition toggle<CR>',
|
||||
desc = 'Toggle Precognition',
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue