mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-09-14 13:22:13 +02:00
initial commit
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
return {
|
||||
"xiyaowong/link-visitor.nvim",
|
||||
event = "BufEnter",
|
||||
opts = {
|
||||
open_cmd = nil,
|
||||
silent = true,
|
||||
skip_confirmation = true,
|
||||
border = "rounded",
|
||||
},
|
||||
config = function()
|
||||
local whichKey = require("which-key")
|
||||
local linkVisitor = require("link-visitor");
|
||||
|
||||
whichKey.add({
|
||||
{ "<leader>v", group = "Link", },
|
||||
{ "<leader>vv", function() linkVisitor.visit() end, },
|
||||
{ "<leader>vl", function() linkVisitor.link_under_cursor() end, },
|
||||
{ "<leader>vn", function() linkVisitor.link_near_cursor() end, },
|
||||
{ "<leader>vN", function() linkVisitor.link_nearest() end, },
|
||||
})
|
||||
end
|
||||
}
|
||||
Reference in New Issue
Block a user