daa84 / neovim-gtk

gtk ui for neovim
GNU General Public License v3.0
716 stars 57 forks source link

Commands don't work(NGToggleSidebar etc.) #165

Open ghost opened 5 years ago

ghost commented 5 years ago

According to the commands section there are commands available like :NGToggleSidebar. But when I try them I get this:

E492: Not an editor command: NGToggleSidebar

OS: Ubuntu 18.04 nvim: 0.2.2 nvim-gtk: freshly built from source: e9bd45d619a666df07ce0186e2de45be51092b5b

daa84 commented 5 years ago

This commands are places at runtime/plugin/nvim_gui_shim.vim, this file installs in neovim runtime folder. So maybe you installation does not contains this file.

ghost commented 5 years ago

@daa84 the documentation doesn't mention runtime plugins. Running :UpdateRemotePlugins doesn't do anything. I installed nvim-gtk like this:

cargo build --release
sudo make install
davidsierradz commented 5 years ago

From neovim-gtk-git AUR package, it copies to /usr/share/nvim-gtk/runtime/nvim_gui_shim.vim, neovim doesn't source this directory by itself, check #13,

Find if this file is in your system and run :scriptnames inside neovim, see help 'runtimepath'