@@ -181,7 +181,6 @@ function! EasyMotion#WB(visualmode, direction) " {{{
181181endfunction " }}}
182182function ! EasyMotion#WBW (visualmode , direction) " {{{
183183 let s: current .is_operator = mode (1 ) == # ' no' ? 1 : 0
184- " Note: Previous regex for all directions was '\(\(^\|\s\)\@<=\S\|^$\)'
185184 let l: regex_without_file_ends = ' \v(^|\s)\zs\S|^$'
186185 let l: regex = l: regex_without_file_ends
187186 \ . (a: direction == 1 ? ' ' : ' |%$' )
@@ -192,7 +191,6 @@ endfunction " }}}
192191function ! EasyMotion#WBK (visualmode , direction) " {{{
193192 " vim's iskeyword style word motion
194193 let s: current .is_operator = mode (1 ) == # ' no' ? 1 : 0
195- " Note: Previous regex for all directions was '\(\(\<\|\>\|\s\)\@<=\S\|^$\)'
196194 let l: regex_without_file_ends = ' \v<|^\S|\s\zs\S|>\zs\S|^$'
197195 let l: regex = l: regex_without_file_ends
198196 \ . (a: direction == 1 ? ' ' : ' |%$' )
@@ -209,7 +207,6 @@ endfunction " }}}
209207function ! EasyMotion#EW (visualmode , direction) " {{{
210208 let s: current .is_operator = mode (1 ) == # ' no' ? 1 : 0
211209 let is_inclusive = mode (1 ) == # ' no' ? 1 : 0
212- " Note: Previous regex for all directions was '\(\S\(\s\|$\)\|^$\)'
213210 " Note: The stopping positions for 'E' and 'gE' differs. Thus, the regex
214211 " for direction==2 cannot be the same in both directions. This will be
215212 " ignored.
@@ -224,7 +221,6 @@ function! EasyMotion#EK(visualmode, direction) " {{{
224221 " vim's iskeyword style word motion
225222 let s: current .is_operator = mode (1 ) == # ' no' ? 1 : 0
226223 let is_inclusive = mode (1 ) == # ' no' ? 1 : 0
227- " Note: Previous regex for all directions was '\(\S\(\>\|\<\|\s\)\@=\|^$\)'
228224 " Note: The stopping positions for 'e' and 'ge' differs. Thus, the regex
229225 " for direction==2 cannot be the same in both directions. This will be
230226 " ignored.
0 commit comments