Mishkun / ideavim-sneak

Vim-sneak for IdeaVim!
Other
45 stars 10 forks source link

f, F, t, and T do not move across lines #28

Open maptv opened 1 year ago

maptv commented 1 year ago

I would like ; and , to move across lines, but nothing happens when I press ;/,after I run out of matches on the current line. I have

maptv commented 1 year ago

s and S move across lines, but f, F, t, and T do not. It would be great to support f, F, t, and T bindings like vim-sneak does:

" 1-character enhanced 'f'
nmap f <Plug>(sneak-f)
nmap F <Plug>(sneak-F)
" visual-mode
xmap f <Plug>(sneak-f)
xmap F <Plug>(sneak-F)
" operator-pending-mode
omap f <Plug>(sneak-f)
omap F <Plug>(sneak-F)

" 1-character enhanced 't'
nmap t <Plug>(sneak-t)
nmap T <Plug>(sneak-T)
" visual-mode
xmap t <Plug>(sneak-t)
xmap T <Plug>(sneak-T)
" operator-pending-mode
omap t <Plug>(sneak-t)
omap T <Plug>(sneak-T)