Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vim EasyMotion for VS Code not activating

Does anyone use Vim with VSCode? For some reason, my <leader> key (space), does not activate the easy-motion plugin (I made sure it is enabled in the settings), but just moves the cursor to the right once. I am new to VS Code, am I missing something? I still haven't figured out how .vimrc works with VS Code.

TIA!

like image 215
andriy Avatar asked Jul 09 '26 02:07

andriy


1 Answers

It's not nessesary to use .vimrc file for vscode unless you want some customized behaviors.

  • Make sure you've enbaled the easymotion in vsvim settings:

    "vim.easymotion": true

    (in your settings.json file)

  • When it comes to VSCode, easymotion will be triggered by double press <leader> key.
    Different from Terminal Vim, for example: (in your case <leader> is set to space)

    space + space + 2 + s

    after you press the above keys, your status bar should look like this.

Hope it would help you get into Visual Studio Code quickly.

like image 99
s3cret Avatar answered Jul 11 '26 19:07

s3cret



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!