After resisting for a bit, I decided to try the plugin manager vim-plug.
It seemed to work well when installing the GhostText plugin, except that I had to do the installation in a sudo nvim
session, and the plugin only works when in such a session. If I start my session with the command nvim
and run the command :GhostStart
, I get the following error:
Note: I already changed the owner of the directory ~/.local/share/nvim to myself, and it did not help.
How can I solve this?
EDIT: If I run :GhostInstall
in a non-sudo session, I get this error:
SimpleWebSocketServer
isautomatically installed as a pip --user dependency when :GhostInstall runs
. You ranGhostInstall
as root, so it makes sense that it won't be installed for a different user. You mentioned that youhad to do the installation in a sudo nvim session
, but not why you had to install it in that way. Could you add some more details to your question explaining this, please?python3.6 -m pip install --user -r ~/.local/share/nvim/plugged/vim-ghost/requirements_posix.txt
.ls
in the plugged directory it says it is empty/.local
(under the root directory) rather than~/.local
(under your home directory)... Maybe that's a big part of the problem?