up
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
-- Edition mappings
|
||||
--
|
||||
-- edition mappings
|
||||
--
|
||||
|
||||
local status_kh, kh = pcall(require, 'custom.plugins.keymaps-helper')
|
||||
if not status_kh then
|
||||
return
|
||||
@@ -8,18 +8,5 @@ end
|
||||
|
||||
kh.map({ 'n', 'v', 'i' }, '<C-z>', '<CMD>undo<CR>', { silent = true, noremap = true, desc = 'Undo' })
|
||||
|
||||
-- local status_wk, wk = pcall(require, 'which-key')
|
||||
-- if not status_wk then
|
||||
-- return
|
||||
-- end
|
||||
--
|
||||
-- wk.add {
|
||||
-- {
|
||||
-- mode = { 'n', 'v', 'i' },
|
||||
-- -- mapping runs here as which-key intercepts ctrl-z signal before term
|
||||
-- { '<C-z>', '<CMD>undo<CR>', desc = 'Undo', silent = true, noremap = true, hidden = true },
|
||||
-- },
|
||||
-- }
|
||||
|
||||
-- The line beneath this is called `modeline`. See `:help modeline`
|
||||
-- vim: ts=2 sts=2 sw=2 et
|
||||
|
||||
Reference in New Issue
Block a user