aboutsummaryrefslogtreecommitdiffstats
path: root/.config/ranger
diff options
context:
space:
mode:
Diffstat (limited to '.config/ranger')
-rw-r--r--.config/ranger/rc.conf2
-rw-r--r--.config/ranger/rifle.conf18
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"