dotfiles/.config/ranger/rc.conf
2023-11-15 08:26:41 +01:00

6 lines
355 B
Text

# 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} .