So I am really new to VIM but was attempting to add some plugin’s one of which is EasyMotion.
According to the vid tutorials at NetPlus, and Vim’s Wiki Plugin Page, after dropping the plugin’s .vim file in the plugins direction (on Windows) I should be able to initiate the EasyMotion plugin by hitting (from within a loaded file):
<Leader><Leader>w”
And according to the VIM documentation, Leader is set to the mapleader variable which is by default “\” unless change. I haven’t changed it but hitting “\” does nothing but beep (windows error bell).
I did try even mapping:
let mapleader = “,”
let g:mapleader = “,”
and nothing changed.
UPDATE
I came across these errros when I accidently tried loading my _vimrc file by Vim (right clicked on file and chose to open with Vim) -> I think this might give some insight, but I haven’t a clue why:
ERROR
Error detected while processing d:\Program Files (x86)\Vim\vimfiles\plugin\
EasyMotion.vim:
line 24:
E117: Unknown function: EasyMotion#InitOptions
line 39:
E121: Undefined variable: g:EasyMotion_hl_group_target
E116: Invalid arguments for function EasyMotion#InitHL
line 40:
E121: Undefined variable: g:EasyMotion_hl_group_shade
E116: Invalid arguments for function EasyMotion#InitHL
line 69:
E117: Unknown function: EasyMotion#InitMappings
The answer came out to be that I had not added the autoload .vim file to the autoload directory. This was why I was getting the specific errors.