feat(normal): normal-mode ZR does :restart

Make it a normal-mode command instead of a default mapping.
This commit is contained in:
Justin M. Keyes
2026-04-20 22:15:01 +02:00
parent 2551c7a8b1
commit a1c8b81672
8 changed files with 82 additions and 20 deletions

View File

@@ -482,14 +482,6 @@ do
end
end, { desc = 'Select child (inner) node' })
end
-- Z layer mappings
do
vim.keymap.set('n', 'ZR', function()
local args = vim.v.count >= 1 and { '+qall!' } or nil
cmd({ cmd = 'restart', args = args })
end, { desc = ':help ZR' })
end
end
--- Default menus