From: Samir Benmendil Date: Fri, 6 Mar 2015 00:13:34 +0000 (+0000) Subject: vim: use sneak for f and t X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/8de18e145a7a0a64b3b86f9ae60e1bb798530f71?ds=sidebyside vim: use sneak for f and t this might conflict with yankring --- diff --git a/vim/vimrc b/vim/vimrc index 1b445f6..f177116 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -549,6 +549,20 @@ let g:sneak#streak = 1 let g:sneak#target_labels = "aoeuisnthdpylrcgfqjkxzmwvz" " dvorak let g:sneak#use_ic_scs = 1 " follow 'ignorecase' and 'smartcase' +" sneaky f and t +nmap f Sneak_f +nmap F Sneak_F +xmap f Sneak_f +xmap F Sneak_F +omap f Sneak_f +omap F Sneak_F +nmap t Sneak_t +nmap T Sneak_T +xmap t Sneak_t +xmap T Sneak_T +omap t Sneak_t +omap T Sneak_T + " functions {{{1 " Convenient command to see the difference between the current buffer and the