I am on WSL trying to understand why my
fakeclip.vim doesn't work.
let g:fakeclip_platform = s:PLATFORM
~/.vim/bundle/vim-fakeclip/autoload/fakeclip.vim, but I can't access the variable I have created. However I can access
So I was suspecting vim to not load/use this file. Fakeclip is organized as follow:
.vim/bundle/vim-fakeclip/ ├── autoload │ └── fakeclip.vim ├── doc │ ├── fakeclip.txt │ └── tags ├── Gemfile ├── plugin │ └── fakeclip.vim
So I executed this:
$ echo "let g:foo=42" >> .vim/bundle/vim-fakeclip/plugin/fakeclip.vim $ echo "let g:bar=42" >> .vim/bundle/vim-fakeclip/autoload/fakeclip.vim
But once again,
g:bar doesn't exist. So I removed the autoload file:
$ rm .vim/bundle/vim-fakeclip/autoload/fakeclip.vim
g:fakeclip_terminal_multiplexer_type which is only defined in this file is still available.
Of course between each attempt I quit and restarted vim. I also removed
.viminfo just in case.
Could some explain what's happening here?