Skip to content

Commit

Permalink
feat(ui): remap gx -> K. Fixes #1561
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jun 27, 2024
1 parent c0fd59b commit e3e4314
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lua/lazy/view/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ function M.create()
return ViewConfig.keys.abort
end, { silent = true, buffer = self.buf, expr = true })

vim.keymap.set("n", "gx", "K", { buffer = self.buf, remap = true })

-- plugin details
self:on_key(ViewConfig.keys.details, function()
local plugin = self.render:get_plugin()
Expand Down

0 comments on commit e3e4314

Please sign in to comment.