mirror of
https://github.com/neovim/neovim.git
synced 2026-05-24 05:40:08 +00:00
feat(normal): normal-mode ZR does :restart
Make it a normal-mode command instead of a default mapping.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user