Using : st, Ranger, vim, i3
With most files when I open them with ranger it opens in a new window. However, when I try to open a file with vim it opens it in the current terminal which is currently running ranger.
I understand why it does it, I'm just not finding how to get the desired outcome of opening files with vim (from ranger) in a new terminal.
Best Answer
You can edit ranger's rifle config for that. Rifle is ranger's file opener.
to copy the default rifle config to ~/.config/ranger/rifle.conf
Then change the line in rifle.conf which says
mime ^text, label editor = ${VISUAL:-$EDITOR} -- "$@" to
I use termite terminal emulator. Change that to st in your case.
To open multiple files at once you can use