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

Ranger didn't jump folder at first under a specific situation. #136

Closed ysl2 closed 1 year ago

ysl2 commented 1 year ago

Ranger didn't jump folder at first under the case below.

folder0
    |--file0.txt
folder1
    |--file1.txt
  1. Enter folder0 and use nvim to open file0.txt.

    cd folder0
    nvim file0.txt
  2. Open file1.txt directly in nvim.

    # In neovim command below:
    :e ../folder1/file1.txt
  3. Open ranger, and the folder is folder0 but folder1 is expected.

  4. Reopen ranger, it will jump to folder1.

kevinhwang91 commented 1 year ago

Can't reproduce it, please use github template.