justinmk / vim-sneak

The missing motion for Vim :athletic_shoe:
http://www.vim.org/scripts/script.php?script_id=4809
MIT License
3.26k stars 88 forks source link

also triggert when hiting f<key> #256

Closed Marco-Israel closed 4 years ago

Marco-Israel commented 4 years ago

Hello why is the plugin also tirggert when hiting f or t key? I does not define a mapping for it ... :(

Marco-Israel commented 4 years ago

Sorry, I did by simple stupid copy past -.-

        map  <expr> ; repmo#LastKey('<Plug>Sneak_;')|sunmap ;
        map  <expr> , repmo#LastRevKey('<Plug>Sneak_,')|sunmap ,

        map  <expr> s repmo#ZapKey('<Plug>Sneak_s')|ounmap s|sunmap s
        map  <expr> S repmo#ZapKey('<Plug>Sneak_S')|ounmap S|sunmap S
        omap <expr> z repmo#ZapKey('<Plug>Sneak_s')
        omap <expr> Z repmo#ZapKey('<Plug>Sneak_S')
        **map  <expr> f repmo#ZapKey('<Plug>Sneak_f')|sunmap f
        map  <expr> F repmo#ZapKey('<Plug>Sneak_F')|sunmap F
        map  <expr> t repmo#ZapKey('<Plug>Sneak_t')|sunmap t
        map  <expr> T repmo#ZapKey('<Plug>Sneak_T')|sunmap T**