Feed &cedit as a key properly - fix #62
This commit is contained in:
parent
67078e0c34
commit
88648b2578
@ -878,7 +878,7 @@ function! s:print_last() abort
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:editop(type) abort
|
function! s:editop(type) abort
|
||||||
call feedkeys(&cedit . "\<Home>", 'n')
|
call feedkeys(eval('"\'.&cedit.'"') . "\<Home>", 'n')
|
||||||
let input = s:input(substitute(substitute(substitute(
|
let input = s:input(substitute(substitute(substitute(
|
||||||
\ s:opfunc(a:type), "\s*;[^\n\"]*\\%(\n\\@=\\|$\\)", '', 'g'),
|
\ s:opfunc(a:type), "\s*;[^\n\"]*\\%(\n\\@=\\|$\\)", '', 'g'),
|
||||||
\ '\n\+\s*', ' ', 'g'),
|
\ '\n\+\s*', ' ', 'g'),
|
||||||
|
Loading…
Reference in New Issue
Block a user