kelly-lin/ranger.nvim

command :open_with still sends to neovim

Opened this issue · 0 comments

In ranger there's this command called :open_with , which you can easily access using the r key. As the name suggests, it opens the file with another application, for example :open_with firefox will open the currently selected file in firefox. But using this plugin ranger opens the file in neovim no matter what you put. The exact example I gave ( :open_with firefox ) opens the file in neovim even though I told it to open it in firefox.

I use trash-cli to be more safe about what I'm deleting, so I often use :open_with trash to just move the file to trash instead of permanently deleting it, but from inside neovim it just opens the file for editing.