Closed takac closed 10 years ago
Thanks for pull request!
Would you mind modifying some code I mentioned above?
I have implemented those changes. How do I add the mapping into my vimrc?
Thank you!
I fixed regrex missing \
(the regrex code I paste was escaped by GitHub...) so please update.
This is .vimrc example:
map <Leader>J <Plug>(easymotion-J)
map <Leader>K <Plug>(easymotion-K)
This is off topic but, I implemented many useful motion by <Plug>
mapping.
I think these motion is interesting.
<Plug>(easymotion-s2)
: Type two char find motion.(If you want to search by one char, type enter)<Plug>(easymotion-repeat)
: Repeat last motion<Plug>(easymotion-jumptoanywhere)
: Match as match as possible on screen (this regrex is configurable by vimrc)<Plug>(easymotion-lineforward)
, <Plug>(easymotion-linebackward>
: Extension of default h
, l
.vimrc example:
map s <Plug>(easymotion-s2)
map <Leader>. <Plug>(easymotion-repeat)
map <Leader><Leader> <Plug>(easymotion-jumptoanywhere)
map <Leader>h <Plug>(easymotion-linebackward)
map <Leader>l <Plug>(easymotion-lineforward)
If you are interested in these motion, please try them.
Thanks again!
@takac
I'm sorry. I changed mapping name from <Plug>(easymotion-J)
to <Plug>(easymotion-eol-j)
because I want to implement start of line JK motion(<Plug>(easymotion-sol-j)
).
Updated vimrc example:
map <Leader>J <Plug>(easymotion-eol-j)
map <Leader>K <Plug>(easymotion-eol-k)
Thanks.
Fantastic. Thanks for all the help and examples. Looking forward to trying out all these new motions in your fork.
A mapping I find very useful.