add Search special case in mapping helper function
This commit is contained in:
parent
4465876cdc
commit
2ddc73453b
@ -66,6 +66,9 @@ function! s:motion_map_helper(motions) "{{{
|
||||
if dict.fnc ==# 'S' || dict.fnc ==# 'SL' || dict.fnc ==# 'T' || dict.fnc ==# 'TL'
|
||||
let l:mapargs += [dict.cnt, 0, dict.direction]
|
||||
let l:xmapargs += [dict.cnt, 1, dict.direction]
|
||||
elseif dict.fnc ==# 'Search'
|
||||
let l:mapargs += [0, dict.direction, dict.respect_direction]
|
||||
let l:xmapargs += [1, dict.direction, dict.respect_direction]
|
||||
else
|
||||
let l:mapargs += [0, dict.direction]
|
||||
let l:xmapargs += [1, dict.direction]
|
||||
|
Loading…
Reference in New Issue
Block a user