Deoplete.nvim: Having trouble with installation instructions

Created on 23 Mar 2016  路  3Comments  路  Source: Shougo/deoplete.nvim

I am new to neovim. Could you please provide more detailed instructions for how to install the plugin?

From the README instructions:

Extract the files and put them in your Neovim directory (usually ~/.config/nvim).

Which files should be extracted? Displaying a sample file structure would be really helpful.

Thanks!

help wanted question

Most helpful comment

Thanks @fmoralesc that's really helpful.

@Shougo I realize there are many ways to install vim plugins and deoplete's README can't cover them all. Perhaps you can add a link to @fmoralesc's comment in the README for noobs like me.

All 3 comments

Hi, @monicao.

Vim/Neovim plugins are usually distributed in a way so you can just drop your files in what it's called the "runtimepath" (basically, a list of directories (n)vim will look for files into). The runtimepath typically includes ~/.config/nvim/ in Neovim's case. So in the most typical scenario, if the plugin has this layout:

plugin/
    myplugin.vim
rplugin/
    python3/
       pythonmodule.py
README.md

you should copy all of those files to the ~/.config/nvim/ folder, so you will end up with

~/
    .config/
        nvim/
           plugin/
               myplugin.vim
           rplugin/
              python3/
                pythonmodule.py
           README.md

If you are using a plugin manager (vim-plug is recommended for its simplicity, @Shougo's dein.vim is also good but somewhat more complicated), you can simply drop all files in their own directory inside a special folder (typically called "bundles"). So you will have:

~/
    .config/
        nvim/
            bundles/
                myplugin/
                    plugin/
                        myplugin.vim
                    rplugin/
                        python3/
                            pythonmodule.py
                    README.md

This kind of layout is very useful when you have multiple plugins, since their files are neatly separated.

Thanks @fmoralesc that's really helpful.

@Shougo I realize there are many ways to install vim plugins and deoplete's README can't cover them all. Perhaps you can add a link to @fmoralesc's comment in the README for noobs like me.

@monicao It is alot easier to install if you are using a plugin manager like https://github.com/junegunn/vim-plug for example. It is also easy to update or uninstall plugins this way.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

callmekohei picture callmekohei  路  4Comments

pr4th4m picture pr4th4m  路  4Comments

lowski picture lowski  路  3Comments

tchia04 picture tchia04  路  3Comments

ChristianChiarulli picture ChristianChiarulli  路  5Comments