Vim Essential Plugin: EasyMotion
videos

Vim Essential Plugin: EasyMotion

This entry is part 1 of 8 in the Vim Essential Plugins Session
Next »

In this first episode of Vim Essential Plugins, we’ll be reviewing the helpful EasyMotion plugin, which allows us to be much quicker when traversing our pages.


Usage

Once installed (see video for help), the EasyMotion plugin can be triggered by using the leader character plus w. By default, this will be \w. Once this sequence is pressed, every word in your document will be replaced with a trigger-letter.

Trigger

At that point, simply type the red identifier of the location you want to move your cursor, and – bam — you’re done! Be sure to also review some of the other triggers, like \ge and \k. Download it. Use it!

Note: Want to add some source code? Type <pre><code> before it and </code></pre> after it. Find out more
  • Arania Jain

    This is is seriously useful for increasing your productivity when working with Vim

    Great video like always!

  • http://www.umarjadoon.com Umar

    Seriously, this is amazing! Thanks Jeffry!

  • Marcin

    I didn’t know about EasyMotion and because I’m new to Vim, I am eager to find out what’s going to be covered next. Very helpful, thank you!

  • http://concordia.duvieusart.net Nicolas

    This is just what I needed to start using Vim, it’s the first time I see a walkthrough on how to install Vim’s plugins.. it’s funny everyone assume you already know that.

    I quick tutorial on how and what to change in the .vimrc file would appreciated too!

    Keep this serie going, it’s awesome, thank you!

    • http://www.jeffrey-way.com Jeffrey Way
      Author

      Yeah, I know what you mean. When you’re first getting started, that’s the hardest part. :)

  • Ben

    hi, thanks for the tutorial!

    With the help of your tutorials I switched from Dreamweaver to Vim. But something I’m really missing now: In dreamweaver I had a sidebar where I could connect to my webspace via FTP and browse through with the file tree. The best part: I could open the files (they were downloaded to a local directory on my pc), edit them, save and with a shortcut they got loaded up again, and all this in dreamweaver.
    With vim, I have to save the file, open FTP software, find the directory on my webspace, and upload them manually.

    Is there any way to make this easier in Vim?

    • http://www.jeffrey-way.com Jeffrey Way
      Author

      Hey Ben — There’s an easier way. Are you a Mac or Windows user?

      • Ben

        Windows and for some weeks Linux (Ubuntu).

    • http://psd-to-modx.com Cipa

      I’d like to know this as well. Currently using coda so I need something that allows me to edit files directly on the server

  • tarek

    hi Jeffrey Way I have learned a lot from you, man!
    But I have a question very, very important

    l love vim but I have a problem .. I can not write html Arabic page

    I need help,,, thanks

  • Kyle

    WOW that is EASY!

  • Rory

    I cant seem to get the plugin to work properly when I am editing an HTML document. I think it may not work because of something to do with the tags, since it works when editing other types.

    Can you shed any light on this for me?

  • a

    Hi,i unziped the archive in a folder in home/.vimrc/bundle,but when i press \w in vim,nothing happens,Why?Thanks.

    • Tom

      The invoking shortcuts have changed in the latest version, they have doubled the leader key to help avoid conflicts with other plugins. w is now w, so \\w in a vim that uses the default leader back-slash, but note a lot of people redefine leader to ‘,’ — in that case it would be ,,w

  • isaac

    I get function errors unknown functions and unknown variables each time vim is start. Is this regular vim or macvim? i have vim 7.3 that shipped with my mac