When I open a file with atom through ranger and than close the terminal which executes ranger, it causes the atom editor to close too, my configuration file looks like:
user@computer ~ $ cat ~/.config/ranger/rifle.conf
ext c|cpp|h|md|txt = xdg-open "$@"
I also tried it by explicitly defining atom as the default application inside ranger:
user@computer ~ $ cat ~/.config/ranger/rifle.conf
ext c|cpp|h|md|txt = atom "$@"
This however has the same effect as described above.
Q: How do I prevent the atom-editor from closing when I close ranger?
EDIT:
I open ranger with the shortcut [ctrl]+[alt]+[r], which executes the following command:
gnome-terminal -x ranger