diff --git a/autoload/EasyMotion.vim b/autoload/EasyMotion.vim index 5307c85..757b5e9 100644 --- a/autoload/EasyMotion.vim +++ b/autoload/EasyMotion.vim @@ -699,6 +699,9 @@ endfunction "}}} call s:Prompt('Target key') let char = s:GetChar() + if g:EasyMotion_use_upper == 1 && match(g:EasyMotion_keys, '\l') == -1 + let char = toupper(char) + endif " }}} finally " Restore original lines diff --git a/plugin/EasyMotion.vim b/plugin/EasyMotion.vim index 8d9f6f3..e4af4ac 100644 --- a/plugin/EasyMotion.vim +++ b/plugin/EasyMotion.vim @@ -26,6 +26,7 @@ set cpo&vim \ , 'smartcase' : 0 \ , 'skipfoldedline' : 1 \ , 'use_migemo' : 0 + \ , 'use_upper' : 0 \ \ , 'hl_group_target' : 'EasyMotionTarget' \ , 'hl2_first_group_target' : 'EasyMotionTarget2First'