Last active
October 3, 2020 05:02
-
-
Save andyrufasto/30834ba7ed26b21e1ccc02da010bc2e6 to your computer and use it in GitHub Desktop.
Ranger config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set preview_images true | |
set preview_images_method ueberzug | |
set draw_borders true | |
map cx shell chmod +x %s | |
default_linemode devicons | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# sintaxis: | |
# <condición 1>, <condición 2>, ... = comando | |
# ext <regexp> | de extensión $1 | |
ext docx?|pptx?|xlsx?|od[dfgpst] = libreoffice "$@" | |
# mime <regexp> | tipo de archivo de $1 | |
mime ^text, label editor = vim "$@" | |
!mime ^text, ext md|sh|tex|py|r|rb|js|sh|php = vim -- "$@" | |
# flag f: setsid $command >& /dev/null & | |
mime ^video, flag f = mpv -- "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment