mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-25 05:51:04 +00:00
precognition
This commit is contained in:
parent
e162fa9f49
commit
78786ce1aa
3 changed files with 34 additions and 6 deletions
|
|
@ -10,7 +10,7 @@
|
||||||
"grug-far.nvim": { "branch": "main", "commit": "b58b2d65863f4ebad88b10a1ddd519e5380466e0" },
|
"grug-far.nvim": { "branch": "main", "commit": "b58b2d65863f4ebad88b10a1ddd519e5380466e0" },
|
||||||
"lazy.nvim": { "branch": "main", "commit": "85c7ff3711b730b4030d03144f6db6375044ae82" },
|
"lazy.nvim": { "branch": "main", "commit": "85c7ff3711b730b4030d03144f6db6375044ae82" },
|
||||||
"lazydev.nvim": { "branch": "main", "commit": "5231c62aa83c2f8dc8e7ba957aa77098cda1257d" },
|
"lazydev.nvim": { "branch": "main", "commit": "5231c62aa83c2f8dc8e7ba957aa77098cda1257d" },
|
||||||
"lualine.nvim": { "branch": "master", "commit": "3946f0122255bc377d14a59b27b609fb3ab25768" },
|
"lualine.nvim": { "branch": "master", "commit": "e5459241bde5949305b9583bb4eedf322a2a8e7c" },
|
||||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "7d527c76c43f46294de9c19d39c5a86317809b4b" },
|
"mason-lspconfig.nvim": { "branch": "main", "commit": "7d527c76c43f46294de9c19d39c5a86317809b4b" },
|
||||||
"mason.nvim": { "branch": "main", "commit": "57e5a8addb8c71fb063ee4acda466c7cf6ad2800" },
|
"mason.nvim": { "branch": "main", "commit": "57e5a8addb8c71fb063ee4acda466c7cf6ad2800" },
|
||||||
"mini.ai": { "branch": "main", "commit": "bfb26d9072670c3aaefab0f53024b2f3729c8083" },
|
"mini.ai": { "branch": "main", "commit": "bfb26d9072670c3aaefab0f53024b2f3729c8083" },
|
||||||
|
|
|
||||||
|
|
@ -11,3 +11,6 @@ vim.keymap.set("n", "<C-d>", "<C-d>zz")
|
||||||
vim.keymap.set("n", "<C-u>", "<C-u>zz")
|
vim.keymap.set("n", "<C-u>", "<C-u>zz")
|
||||||
vim.keymap.set("n", "n", "nzzzv")
|
vim.keymap.set("n", "n", "nzzzv")
|
||||||
vim.keymap.set("n", "N", "Nzzzv")
|
vim.keymap.set("n", "N", "Nzzzv")
|
||||||
|
|
||||||
|
-- Prcognition
|
||||||
|
vim.keymap.set("n", "<leader>tp", require("precognition").toggle)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
return {
|
return {
|
||||||
|
-- Other options
|
||||||
|
-- nvim-spider
|
||||||
|
-- leap.nvim
|
||||||
"tris203/precognition.nvim",
|
"tris203/precognition.nvim",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
opts = {
|
opts = {
|
||||||
|
|
@ -9,20 +12,42 @@ return {
|
||||||
Caret = { text = "^", prio = 2 },
|
Caret = { text = "^", prio = 2 },
|
||||||
Dollar = { text = "$", prio = 1 },
|
Dollar = { text = "$", prio = 1 },
|
||||||
MatchingPair = { text = "%", prio = 5 },
|
MatchingPair = { text = "%", prio = 5 },
|
||||||
|
|
||||||
Zero = { text = "0", prio = 1 },
|
Zero = { text = "0", prio = 1 },
|
||||||
|
|
||||||
w = { text = "w", prio = 10 },
|
w = { text = "w", prio = 10 },
|
||||||
b = { text = "b", prio = 9 },
|
b = { text = "b", prio = 9 },
|
||||||
e = { text = "e", prio = 8 },
|
e = { text = "e", prio = 8 },
|
||||||
|
ge = { text = "ge", prio = 7 },
|
||||||
W = { text = "W", prio = 7 },
|
W = { text = "W", prio = 7 },
|
||||||
B = { text = "B", prio = 6 },
|
B = { text = "B", prio = 6 },
|
||||||
E = { text = "E", prio = 5 },
|
E = { text = "E", prio = 5 },
|
||||||
|
gE = { text = "gE", prio = 4 },
|
||||||
|
|
||||||
|
f = { text = "f", prio = 10 },
|
||||||
|
F = { text = "F", prio = 9 },
|
||||||
|
t = { text = "t", prio = 8 },
|
||||||
|
T = { text = "T", prio = 7 },
|
||||||
|
|
||||||
|
["("] = { text = "(", prio = 3 },
|
||||||
|
[")"] = { text = ")", prio = 3 },
|
||||||
},
|
},
|
||||||
gutterHints = {
|
gutterHints = {
|
||||||
-- prio is not currently used for gutter hints
|
G = { text = "G" },
|
||||||
G = { text = "G", prio = 1 },
|
gg = { text = "gg" },
|
||||||
gg = { text = "gg", prio = 1 },
|
PrevParagraph = { text = "{" },
|
||||||
PrevParagraph = { text = "{", prio = 1 },
|
NextParagraph = { text = "}" },
|
||||||
NextParagraph = { text = "}", prio = 1 },
|
|
||||||
|
Top = { text = "H" },
|
||||||
|
Middle = { text = "M" },
|
||||||
|
Bottom = { text = "L" },
|
||||||
|
|
||||||
|
SearchForward = { text = "/" },
|
||||||
|
SearchBackward = { text = "?" },
|
||||||
|
NextMatch = { text = "n" },
|
||||||
|
PrevMatch = { text = "N" },
|
||||||
|
|
||||||
|
MarkJump = { text = "'" },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue