neovim-gtk icon indicating copy to clipboard operation
neovim-gtk copied to clipboard

Commands don't work(NGToggleSidebar etc.)

Open ghost opened this issue 6 years ago • 3 comments

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

ghost avatar Dec 06 '18 13:12 ghost

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.

daa84 avatar Dec 09 '18 09:12 daa84

@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

ghost avatar Dec 10 '18 14:12 ghost

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'

davidsierradz avatar Dec 10 '18 15:12 davidsierradz