feat(ui): remap gx -> K. Fixes #1561

This commit is contained in:
Folke Lemaitre 2024-06-27 12:38:47 +02:00
parent c0fd59b020
commit e3e431480d
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 2 additions and 0 deletions

View File

@ -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()