aboutsummaryrefslogtreecommitdiffstats
path: root/.config/ranger
diff options
context:
space:
mode:
Diffstat (limited to '.config/ranger')
-rw-r--r--.config/ranger/rifle.conf7
1 files changed, 4 insertions, 3 deletions
diff --git a/.config/ranger/rifle.conf b/.config/ranger/rifle.conf
index 07eb3cf..452687b 100644
--- a/.config/ranger/rifle.conf
+++ b/.config/ranger/rifle.conf
@@ -46,9 +46,6 @@
# Note: When using rifle in ranger, there is an additional flag "c" for
# only running the current file even if you have marked multiple files.
-# music conversion and import
-directory, has beet = beet imp -t "$1"
-
# view man pages
ext 1|2|3|4|5|6|7|8|9 = man "$@"
@@ -134,6 +131,10 @@ name ^[mM]akefile$ = make new
name ^[mM]akefile$ = make clean
name ^[mM]akefile$ = make debug
+# music conversion and import
+directory, has beet = beet imp -t "$1"
+
+# edit
label editor, !mime ^text, !ext xml|csv|tex|py|pl|rb|sh|php = "$EDITOR" -- "$@"
label editor, !mime ^text, !ext xml|csv|tex|py|pl|rb|sh|php, has urxvt, X, flag f = "urxvt" "-e" "$EDITOR" "$@"