diff options
author | shmibs <shmibs@gmail.com> | 2015-06-15 14:55:33 -0700 |
---|---|---|
committer | shmibs <shmibs@gmail.com> | 2015-06-15 14:55:33 -0700 |
commit | 04ea964440221a09d9a66af52749287ddbf49315 (patch) | |
tree | c48de9d8dea5f0a1229427e8f93167fba9d64b11 /.config/ranger | |
parent | cff2bcd79c676b35a8850d792304a26ef68b78f9 (diff) | |
download | dotfiles-04ea964440221a09d9a66af52749287ddbf49315.tar.gz |
incremental update
changes i've let back up over time
Diffstat (limited to '.config/ranger')
-rw-r--r-- | .config/ranger/rc.conf | 2 | ||||
-rw-r--r-- | .config/ranger/rifle.conf | 18 |
2 files changed, 10 insertions, 10 deletions
diff --git a/.config/ranger/rc.conf b/.config/ranger/rc.conf index d8a94ac..ab29508 100644 --- a/.config/ranger/rc.conf +++ b/.config/ranger/rc.conf @@ -61,7 +61,7 @@ set vcs_backend_bzr disabled set preview_images false # Use a unicode "..." character to mark cut-off filenames? -set unicode_ellipsis true +set unicode_ellipsis false # Show dotfiles in the bookmark preview box? set show_hidden_bookmarks true diff --git a/.config/ranger/rifle.conf b/.config/ranger/rifle.conf index ed66344..aa57817 100644 --- a/.config/ranger/rifle.conf +++ b/.config/ranger/rifle.conf @@ -48,6 +48,15 @@ # only running the current file even if you have marked multiple files. #------------------------------------------- +# Misc +#------------------------------------------- +# Define the "editor" for text files as first action +mime ^text, label editor = "$EDITOR" -- "$@" +mime ^text, has urxvt, X, flag f = "urxvt" "-e" "$EDITOR" "$@" +!mime ^text, ext xml|html|xhtml|csv|tex|py|pl|rb|sh|php = "$EDITOR" -- "$@" +!mime ^text, ext xml|html|xhtml|csv|tex|py|pl|rb|sh|php, has urxvt, X, flag f = "urxvt" "-e" "$EDITOR" "$@" + +#------------------------------------------- # Websites #------------------------------------------- # Rarely installed browsers get higher priority; It is assumed that if you @@ -69,15 +78,6 @@ ext x?html?, has links, terminal = links "$@" ext x?html?, has lynx, terminal = lynx -- "$@" ext x?html?, has w3m, terminal = w3m "$@" -#------------------------------------------- -# Misc -#------------------------------------------- -# Define the "editor" for text files as first action -mime ^text, label editor = "$EDITOR" -- "$@" -mime ^text, has urxvt, X, flag f = "urxvt" "-e" "$EDITOR" "$@" -!mime ^text, ext xml|csv|tex|py|pl|rb|sh|php = "$EDITOR" -- "$@" -!mime ^text, ext xml|csv|tex|py|pl|rb|sh|php, has urxvt, X, flag f = "urxvt" "-e" "$EDITOR" "$@" - # wine ext exe, has wine, X, flag f = wine "$1" |