Created
November 17, 2016 22:33
-
-
Save haya14busa/1b3c9c058e0731c1acb654c5a891298b to your computer and use it in GitHub Desktop.
test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
inoremap <Plug>(loooooooooooooooooooooooooooooooooong) <C-r>=DoComplete()<CR> | |
function! DoComplete() abort | |
call complete(col('.'), ['a', 'b', 'c']) | |
return '' | |
endfunction | |
imap <C-y> <Plug>(loooooooooooooooooooooooooooooooooong) | |
map <Plug>(testlooooooooooooooong) <Nop> | |
imap <Plug>(testlooooooooooooooong) <Plug>(loooooooooooooooooooooooooooooooooong) | |
function! Test() abort | |
let g:t = timer_start(500, {->feedkeys("\<Plug>(testlooooooooooooooong)", 'm')}, {'repeat': -1}) | |
endfunction |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment