kana / vim-arpeggio

Vim plugin: Mappings for simultaneously pressed keys
http://www.vim.org/scripts/script.php?script_id=2425
272 stars 18 forks source link

Cant get to work in NeoVim with installation via VimPlug #27

Open mangelozzi opened 4 years ago

mangelozzi commented 4 years ago

Using NeoVim 0.43 (latest stable) with installation via VimPlug.

Have tried this solution But get the error

Directory not found in 'packpath': "pack/*/opt/vim-arpeggio"

Have also tried the process in the documentation: packadd vim-arpeggio -> Error detected while processing file

packloadall -> No error, but then when I added either of these lines:

Arpeggio inoremap jk  <Esc>
"call arpeggio#map('i', '', 0, 'jk', '<Esc>')

I get the usual Error detected while processing file

When I try this: call arpeggio#load() -> Error detected while processing file

lkjell commented 3 years ago

No problem with neovim version 0.4.4 with builtin package installation.

ranelpadon commented 3 years ago

Thanks for the tips. I'm using the latest Neovim nightly and the vim-plug package manager, but ended up installing it manually to make it work:

# Create the needed structures.
mkdir -p ~/.config/nvim/pack/vim-arpeggio/start
cd ~/.config/nvim/pack/vim-arpeggio/start

# Copy the package (will create the `~/.config/nvim/pack/vim-arpeggio/start/vim-arpeggio` folder).
git clone git@github.com:kana/vim-arpeggio.git

Then, add packloadall in .vimrc/init.vim.

Related: https://stackoverflow.com/questions/48700563/how-do-i-install-plugins-in-neovim-correctly#answer-64394660