Ox doesnt work well with ranger file manager
kuolemaaa opened this issue ยท 2 comments
What feature would you like to see? (give details)
I use to invoke ranger setting the var EDITOR or ox in order to use ox opening a text file.
$ EDITOR=ox ranger
The problem is when I open a text file in this manner ox will open two files: one called --
and the other that is my file and that is because ranger will invoke the program in EDITOR
in such schema: command -- file-to-open
. I checked it setting EDITOR
to echo and I am not sure about the reasoning behind this. I think it could be related to this question or this article
That's weird: every text editor that I put in EDITOR
works pretty well (vim: default, nano, micro)
Is there something we can do?
Are there any alternatives you have considered?
no
This shouldn't be too difficult to fix. I could just have Ox ignore --
as an argument, I doubt people would be creating and opening files called --
anyway ๐
Implemented in 0.6.9 ๐