From 7faff893e2f6d8f2c8d944678848beb30d935e28 Mon Sep 17 00:00:00 2001 From: haya14busa Date: Sun, 19 Jan 2014 17:59:30 +0900 Subject: [PATCH] Handling 'y' repeat --- autoload/EasyMotion.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/autoload/EasyMotion.vim b/autoload/EasyMotion.vim index cb25efd..0323b6e 100644 --- a/autoload/EasyMotion.vim +++ b/autoload/EasyMotion.vim @@ -1321,7 +1321,8 @@ function! s:EasyMotion(regexp, direction, visualmode, is_exclusive, ...) " {{{ endif " Set tpope/vim-repeat - if s:current.is_operator == 1 + if s:current.is_operator == 1 && + \ !(v:operator ==# 'y' && match(&cpo, 'y') == -1) silent! call repeat#set("\(easymotion-dotrepeat)") endif