kevinhwang91 / rnvimr

Make Ranger running in a floating window to communicate with Neovim via RPC
BSD 3-Clause "New" or "Revised" License
800 stars 17 forks source link

[ERROR] can't open file #153

Closed ryannewcomer closed 1 year ago

ryannewcomer commented 1 year ago

image

Describe the bug after a open rnvimr use RnvimrToggle, the ranger window open, then i open keymap.lua file, but it said no file or direction : 'file'

To Reproduce using nvim -u mini.vim

Example: cat mini.vim

-- i am using lazy
{ 
"kevinhwang91/rnvimr",
lazy = false,
},

Steps to reproduce the behavior: 1.clone https://github.com/alpha2phi/neovim-pde 2.open nvim ( without problem 3.install rnvimr

  1. restart nvim
  2. open rnvimr with RnvimrToggle
  3. found a file to open with enter
  4. error 😢

Expected behavior it should open the file!!!

Screenshots Screenshot 2023-06-02 183230

Additional context no

kevinhwang91 commented 1 year ago

Type W in ranger to show detail.

ryannewcomer commented 1 year ago

image

kevinhwang91 commented 1 year ago

Look like you are missing file command. I'm not sure that ranger can work under WSL.

ryannewcomer commented 1 year ago

ok, i restart the terminal and it seems to be working image i just open a python file for example, it this normal?

ryannewcomer commented 1 year ago

also, the file previews doesn't work

kevinhwang91 commented 1 year ago

Make sure ranger work fine under WSL outside Neovim