feat: added keybindings to update/install/clean/restore/... single plugins

This commit is contained in:
Folke Lemaitre 2022-11-29 10:56:17 +01:00
commit 08b7e42fb0
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
6 changed files with 43 additions and 22 deletions

View file

@ -98,7 +98,7 @@ function M:title()
local View = require("lazy.view")
for _, mode in ipairs(View.modes) do
if not mode.hide then
if not mode.hide and not mode.plugin then
local title = " " .. mode.name:sub(1, 1):upper() .. mode.name:sub(2) .. " (" .. mode.key .. ") "
self:append(title, View.mode == mode.name and "LazyButtonActive" or "LazyButton"):append(" ")
end