diff --git a/.config/ranger/rc.conf b/.config/ranger/rc.conf index 403c86c..a040dc8 100644 --- a/.config/ranger/rc.conf +++ b/.config/ranger/rc.conf @@ -1,3 +1,6 @@ # Stop playback, clear the library and add the selection to the library and start playback map xd delete %f map xc shell cmus-remote -C "set shuffle=false"; cmus-remote --stop --clear --library && cmus-remote --library --play %s + +# Start Codium in the current directory, fall back to VIM +map e shell command -v code && code %f || codium %f || ${EDITOR} .