ipod825/vim-netranger

Error when moving to parent directory

fedemengo opened this issue · 3 comments

I'm getting the following error when moving to parent directory located in /*. I thought it could be related to folder permissions, I tried sudo vim but didn't solve it.

I'm on macOS Sierra using Vim 8.1 and python 3.7.0

Error detected while processing function _NETRInvokeMap:
line    1:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/fedemengo/.vim/plugged/vim-netranger/pythonx/netranger/netranger.py", line 985, in invoke_map
    getattr(self, fn)()
  File "/Users/fedemengo/.vim/plugged/vim-netranger/pythonx/netranger/netranger.py", line 927, in NETRParentDir
    curBuf = self.curBuf
  File "/Users/fedemengo/.vim/plugged/vim-netranger/pythonx/netranger/netranger.py", line 676, in curBuf
    return self.bufs[self.vim.current.buffer.number]
KeyError: 5

It seems to be a general issue that vim now does not work. As I test the plugin with neovim, I didn't realize this earlier. I'll try to fix this asap.

It should be fixed now. Please try again and see if it works. Thanks for reporting.

Flawless!