jesse
jesse

Reputation: 29

";" won't Repeat latest f,t,F or T in my vim

I've learnt a new useful command ";" which can repeat latest f,t,F or T in document. However when I type ';', my vim do nothing.

here is my case

var foo = "method("+argument1+","+argument2+")";
  1. I type "f+", the cursor then move to +
  2. I type ";", the cursor doesn't move to next +

I suspect maybe ";" is map to other function. However when I type ":unmap ;", it shows message "No such mapping".

I don't know how to find the reason.

my environment: macos, iterm2, I've use vim config of https://github.com/chxuan/vimplus

Upvotes: 1

Views: 319

Answers (1)

jesse
jesse

Reputation: 29

I have used a plugin called clever-f (https://github.com/rhysd/clever-f.vim) , clever-f.vim extends f, F, t and T mappings for more convenience. Instead of ;, f is available to repeat after you type f{char} or F{char}.

Upvotes: 1

Related Questions