Coder Social home page Coder Social logo

Comments (23)

kevinhwang91 avatar kevinhwang91 commented on August 30, 2024
  1. What's your version of neovim and python and ranger?

  2. How about running SplitAndEdit vsplit inside ranger? Will neovim do an action like vsplit and open the file selected by ranger?

from rnvimr.

miko2009 avatar miko2009 commented on August 30, 2024
  1. neovim is v0.4.3 . python is 2.7 . ranger 1.9.3.
  2. not found the command ' SplitAndEdit vsplit ' inside ranger
  3. no

from rnvimr.

kevinhwang91 avatar kevinhwang91 commented on August 30, 2024

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.

from rnvimr.

miko2009 avatar miko2009 commented on August 30, 2024

i had upgraded my python version . but it didn't work.

from rnvimr.

kevinhwang91 avatar kevinhwang91 commented on August 30, 2024

Are you using Mac?If yes, please install ranger via pip install ranger-fm instead of brew.

#6

from rnvimr.

miko2009 avatar miko2009 commented on August 30, 2024

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

from rnvimr.

kevinhwang91 avatar kevinhwang91 commented on August 30, 2024

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.

from rnvimr.

miko2009 avatar miko2009 commented on August 30, 2024

yes i had . those files in ~/.config/nvim/plugged/rnvimr/ranger/plugins.

from rnvimr.

kevinhwang91 avatar kevinhwang91 commented on August 30, 2024

Please pip3 install pynvim. pynvim is required also stated in readme.

from rnvimr.

miko2009 avatar miko2009 commented on August 30, 2024

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.

from rnvimr.

kevinhwang91 avatar kevinhwang91 commented on August 30, 2024

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.

from rnvimr.

miko2009 avatar miko2009 commented on August 30, 2024

doesn't work

from rnvimr.

kevinhwang91 avatar kevinhwang91 commented on August 30, 2024

Why do you want to Install ueberzug? I think to install pynvim will work.

from rnvimr.

miko2009 avatar miko2009 commented on August 30, 2024

i had install pynvim "pip3 install --upgrade pynvim" . but it doesn't work

from rnvimr.

kevinhwang91 avatar kevinhwang91 commented on August 30, 2024

What's the message from the display_log inside ranger? Press W or input display_log in ranger's console.

from rnvimr.

miko2009 avatar miko2009 commented on August 30, 2024

can not find module 'pynvim'

from rnvimr.

kevinhwang91 avatar kevinhwang91 commented on August 30, 2024

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..

from rnvimr.

miko2009 avatar miko2009 commented on August 30, 2024

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 » python3 -c 'import pynvim'

~/.config/nvim »

from rnvimr.

kevinhwang91 avatar kevinhwang91 commented on August 30, 2024

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

from rnvimr.

kevinhwang91 avatar kevinhwang91 commented on August 30, 2024

In the end, I hope you solve the issue of installing pynvim by yourself. Good luck.

from rnvimr.

kevinhwang91 avatar kevinhwang91 commented on August 30, 2024

image
@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.

from rnvimr.

haha405pan avatar haha405pan commented on August 30, 2024

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.

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

from rnvimr.

kevinhwang91 avatar kevinhwang91 commented on August 30, 2024

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.

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.

from rnvimr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.