Closed miko2009 closed 4 years ago
What's your version of neovim and python and ranger?
How about running SplitAndEdit vsplit
inside ranger? Will neovim do an action like vsplit
and open the file selected by ranger?
python 3 is required already stated in the readme.
After upgrading your python version and runing :RnvimrSync
in neovim, I guess everything will work fine.
i had upgraded my python version . but it didn't work.
Are you using Mac?If yes, please install ranger via pip install ranger-fm
instead of brew
.
yes , i brew uninstall ranger and pip3 install ranger-fm . but it doesn't work. " FM has no attribute client" is hint when use ranger in neovim
Had you synchronized the plugins(the lib of rnvimr is also a plugin of ranger) via :RnvimrSync
?
Make sure that the files action.py hacks.py host.py service.py
are in ~/.config/nvim/plugged/rnvimr/ranger/plugins
.
yes i had . those files in ~/.config/nvim/plugged/rnvimr/ranger/plugins.
Please pip3 install pynvim
. pynvim is required also stated in readme.
there are some errors in “sudo pip3 install ueberzug ” 。 i can't resolve it
Command errored out with exit status 1: /usr/local/opt/python/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/tmp/pip-install-83hz25ic/ueberzug/setup.py'"'"'; file='"'"'/private/tmp/pip-install-83hz25ic/ueberzug/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/tmp/pip-record-dtjhuha7/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.7m/ueberzug Check the logs for full command output.
ueberzug is only supported in X11 in Linux, which is an optional requirement for rnvimr. If you can open the file via <C-txv>
please close this issue.
Why do you want to Install ueberzug? I think to install pynvim will work.
i had install pynvim "pip3 install --upgrade pynvim" . but it doesn't work
What's the message from the display_log inside ranger? Press W
or input display_log
in ranger's console.
can not find module 'pynvim'
You should make sure python version in the output of ranger --version
is 3 instead of 2.
And then run python3 -c 'import pynvim'
check out pynvim is installed..
yes i am sure ranger version: ranger 1.9.3 Python version: 3.7.3 (default, Apr 7 2020, 14:06:47) [Clang 11.0.3 (clang-1103.0.32.59)] Locale: zh_CN.UTF-8
~/.config/nvim »
Run eval os.sys.path
inside the ranger's console and open display log. Make sure the root lib location of pynvim is included from the list of output.
In my env.
Display log output:
['/usr/lib/python3.8', '/usr/lib/python3.8/site-packages', ......]
My path of pynvim:
/usr/lib/python3.8/site-packages/pynvim
In the end, I hope you solve the issue of installing pynvim by yourself. Good luck.
@miko2009 Don't comment on the showcase issue. It's just to show the images of this repo.
I will delete your comment inside that issue, I'm so sorry.
Had you synchronized the plugins(the lib of rnvimr is also a plugin of ranger) via
:RnvimrSync
? Make sure that the filesaction.py hacks.py host.py service.py
are in~/.config/nvim/plugged/rnvimr/ranger/plugins
.
Hi Mr wang,
I had same issue and didn't find those file in the plugins file. I was trying to synchronize the plugin via typing RnvimrSync
in the neovim but the command could not found.
For your reference, I am currently using Arch Linux,
health check
shows no problemHad you synchronized the plugins(the lib of rnvimr is also a plugin of ranger) via
:RnvimrSync
? Make sure that the filesaction.py hacks.py host.py service.py
are in~/.config/nvim/plugged/rnvimr/ranger/plugins
.Hi Mr wang, I had same issue and didn't find those file in the plugins file. I was trying to synchronize the plugin via typing
RnvimrSync
in the neovim but the command could not found.For your reference, I am currently using Arch Linux,
- [ ] installed neovim and ranger via pacman
- [ ] installed pynvim via pip
- [ ]
health check
shows no problem
RnvimrSync
has been removed, If FAQ didn't work for you, please open a new issue.
I'm using neovim, and I've also installed Ranger. After installing your plug-in, I can open the file with the Enter key, but it is invalid to use < C-T > and < C-X > and < C-V >. These three keys have no binding function.