diff --git a/autoload/EasyMotion.vim b/autoload/EasyMotion.vim index 3ec0170..1dd0df6 100644 --- a/autoload/EasyMotion.vim +++ b/autoload/EasyMotion.vim @@ -3,7 +3,7 @@ " Author: Kim Silkebækken " haya14busa " Source: https://github.com/Lokaltog/vim-easymotion -" Last Change: 22 Feb 2014. +" Last Change: 24 Feb 2014. "============================================================================= " Saving 'cpoptions' {{{ scriptencoding utf-8 @@ -924,7 +924,7 @@ function! s:PromptUser(groups) "{{{ let lines[line_num]['marker'] = substitute( \ lines[line_num]['marker'], \ '\%' . (col_num + col_add) . 'c.', - \ substitute_expr, + \ escape(substitute_expr,'&'), \ '') else " EOL