Final plugins
This commit is contained in:
+52
-12
@@ -1,14 +1,54 @@
|
||||
return {
|
||||
{
|
||||
"m4xshen/hardtime.nvim",
|
||||
dependencies = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim" },
|
||||
opts = {
|
||||
restricted_keys = {
|
||||
["w"] = { "n", "x" },
|
||||
["W"] = { "n", "x" },
|
||||
["b"] = { "n", "x" },
|
||||
["B"] = { "n", "x" },
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"m4xshen/hardtime.nvim",
|
||||
lazy = false,
|
||||
dependencies = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim" },
|
||||
opts = {
|
||||
restricted_keys = {
|
||||
["w"] = { "n", "x" },
|
||||
["W"] = { "n", "x" },
|
||||
["b"] = { "n", "x" },
|
||||
["B"] = { "n", "x" },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
"smoka7/hop.nvim",
|
||||
event = "VeryLazy",
|
||||
version = "*",
|
||||
opts = {
|
||||
keys = "etovxqpdygfblzhckisuran",
|
||||
},
|
||||
keys = {
|
||||
{
|
||||
"ff",
|
||||
function()
|
||||
local dir = require("hop.hint").HintDirection
|
||||
require("hop").hint_char1 { direction = dir.AFTER_CURSOR }
|
||||
end,
|
||||
desc = "go to char (forward)",
|
||||
},
|
||||
{
|
||||
"FF",
|
||||
function()
|
||||
local dir = require("hop.hint").HintDirection
|
||||
require("hop").hint_char1 { direction = dir.BEFORE_CURSOR }
|
||||
end,
|
||||
desc = "go to char (backward)",
|
||||
},
|
||||
{ "2ff", "<cmd>HopChar2<cr>", desc = "go to bigram" },
|
||||
{ "<leader>fl", "<cmd>HopLineStart<cr>" },
|
||||
{ "<leader>fp", "<cmd>HopPattern<cr>" },
|
||||
{ "<leader>fw", "<cmd>HopWord<cr>" },
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
"tzachar/local-highlight.nvim",
|
||||
event = "VeryLazy",
|
||||
config = function()
|
||||
require("local-highlight").setup()
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user