Use <C-g> correctly

This commit is contained in:
hrsh7th
2021-10-12 01:53:27 +09:00
parent fe2b245ea1
commit 30ed4e43a6
2 changed files with 3 additions and 3 deletions

View File

@@ -80,8 +80,7 @@ keymap.backspace = function(count)
return ''
end
local keys = {}
table.insert(keys, keymap.t('<C-g>U'))
table.insert(keys, keymap.t(string.rep('<Left>', count)))
table.insert(keys, keymap.t(string.rep('<C-g>U<Left>', count)))
table.insert(keys, keymap.t(string.rep('<Del>', count)))
return table.concat(keys, '')
end