mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-06-28 03:24:13 +00:00
feat(ui): press <c-c>
to abort any running tasks. Fixes #258
This commit is contained in:
parent
ed0583e82b
commit
d6b5d6e756
4 changed files with 69 additions and 4 deletions
|
@ -62,6 +62,11 @@ function M.create()
|
|||
self:update()
|
||||
end)
|
||||
|
||||
vim.keymap.set("n", ViewConfig.keys.abort, function()
|
||||
require("lazy.manage.process").abort()
|
||||
return "<c-c>"
|
||||
end, { silent = true, buffer = self.buf, expr = true })
|
||||
|
||||
-- plugin details
|
||||
self:on_key(ViewConfig.keys.details, function()
|
||||
local plugin = self.render:get_plugin()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue