-
Notifications
You must be signed in to change notification settings - Fork 90
Closed
Description
First of all, thank you for making this great plugin. It was more accurate than something like easymotion.
I have a problem when using Alt-f and Alt-F (and probably with Alt-t and Alt-T) in insert mode. I didn't remap Alt-f and Alt-F so it should behave like Esc-f and Esc-F by default (more info :h i_ALT).
Here's an example scenario:
- using vim-sneak to find 2-char pattern
- edit those text in insert mode and then decided to append on the next occurrence of
> - use
Alt-f> and then realize that there's one>before the>I want to append - pressing
;(while thinking it will apply to the lastf) - and then go to the next vim-sneak 2-char pattern instead of to the last
f
I already set g:sneak#f_reset and g:sneak#t_reset to 1, but still no avail.
So, can I disable ; and , without making a new mapping? i mean making a mapping like:
nnoremap ; ;
nnoremap , ,or
nmap <expr> ; sneak#is_sneaking() ? ';' : ';'
nmap <expr> , sneak#is_sneaking() ? ',' : ','would be funny, or maybe I should do something like this:
nnoremap <Plug>Sneak_; <Nop>
nnoremap <Plug>Sneak_, <Nop>instead? Is there something that I'm missing?
Thank you.
Metadata
Metadata
Assignees
Labels
No labels