Skip to content

Commit

Permalink
feat(toc): require leader for hop keybindings
Browse files Browse the repository at this point in the history
  • Loading branch information
champignoom committed Dec 14, 2023
1 parent 3613ee8 commit 8834422
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lua/neorg/modules/core/keybinds/keybinds.lua
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ module.config.public = {

-- Hop to the destination of the link under the cursor
{ "<CR>", "core.esupports.hop.hop-link", opts = { desc = "Jump to Link" } },
{ "gd", "core.esupports.hop.hop-link", opts = { desc = "Jump to Link" } },
{ "gf", "core.esupports.hop.hop-link", opts = { desc = "Jump to Link" } },
{ "gF", "core.esupports.hop.hop-link", opts = { desc = "Jump to Link" } },
{ leader .. "gd", "core.esupports.hop.hop-link", opts = { desc = "Jump to Link" } },
{ leader .. "gf", "core.esupports.hop.hop-link", opts = { desc = "Jump to Link" } },
{ leader .. "gF", "core.esupports.hop.hop-link", opts = { desc = "Jump to Link" } },

-- Same as `<CR>`, except opens the destination in a new tab
{
Expand Down

0 comments on commit 8834422

Please sign in to comment.