mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 22:20:06 +08:00
fix(iedit): fix iedit-normal-left
This commit is contained in:
parent
bd4a67e98b
commit
581e56f9c6
@ -356,7 +356,7 @@ local function handle_normal(char) -- handle normal key bindings {{{
|
|||||||
elseif char == k.t('<left>') or char == 'h' then -- {{{
|
elseif char == k.t('<left>') or char == 'h' then -- {{{
|
||||||
for _, i in ipairs(vim.fn.range(1, #cursor_stack)) do
|
for _, i in ipairs(vim.fn.range(1, #cursor_stack)) do
|
||||||
if cursor_stack[i].active then
|
if cursor_stack[i].active then
|
||||||
cursor_stack[i].cursor_end = cursor_stack[i].cursor_begin
|
cursor_stack[i].cursor_end = cursor_stack[i].cursor_char
|
||||||
.. cursor_stack[i].cursor_end
|
.. cursor_stack[i].cursor_end
|
||||||
cursor_stack[i].cursor_char =
|
cursor_stack[i].cursor_char =
|
||||||
vim.fn.matchstr(cursor_stack[i].cursor_begin, '.$')
|
vim.fn.matchstr(cursor_stack[i].cursor_begin, '.$')
|
||||||
|
Loading…
Reference in New Issue
Block a user