mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-04-14 15:19:12 +08:00
fix(iedit): fix e
key binding in iedit mode
This commit is contained in:
parent
b8a562f702
commit
daf80925ed
@ -335,9 +335,9 @@ function! s:handle_normal(char) abort
|
||||
\ s:cursor_stack[i].begin
|
||||
\ . s:cursor_stack[i].cursor
|
||||
\ . word
|
||||
let s:cursor_stack[i].cursor = matchstr(s:cursor_stack[i].begin, '.$')
|
||||
let s:cursor_stack[i].begin = substitute(s:cursor_stack[i].begin, '.$', '', 'g')
|
||||
let s:cursor_stack[i].end = substitute(s:cursor_stack[i].end, '^\s*\S*', '', 'g')
|
||||
let s:cursor_stack[i].cursor = matchstr(s:cursor_stack[i].end, '^.')
|
||||
let s:cursor_stack[i].end = substitute(s:cursor_stack[i].end, '^.', '', 'g')
|
||||
endfor
|
||||
elseif a:char ==# '0' || a:char ==# "\<Home>" " 0 or <Home>
|
||||
for i in range(len(s:cursor_stack))
|
||||
|
Loading…
x
Reference in New Issue
Block a user