aboutsummaryrefslogtreecommitdiff
path: root/File_Manager/ranger
diff options
context:
space:
mode:
Diffstat (limited to 'File_Manager/ranger')
-rw-r--r--File_Manager/ranger/rifle.conf5
1 files changed, 3 insertions, 2 deletions
diff --git a/File_Manager/ranger/rifle.conf b/File_Manager/ranger/rifle.conf
index 6b911b6..9c19db3 100644
--- a/File_Manager/ranger/rifle.conf
+++ b/File_Manager/ranger/rifle.conf
@@ -85,7 +85,8 @@ ext x?html?, has w3m, terminal = w3m "$@"
# Misc
#-------------------------------------------
# Define the "editor" for text files as first action
-mime ^text, label editor = "urxvt -e vim" -- "$@"
+#mime ^text, label editor = "urxvt" -- "$@"
+mime ^text, label editor = urxvt -e vim "$1"
mime ^text, label pager = "$PAGER" -- "$@"
!mime ^text, label editor, ext xml|csv|tex|py|pl|rb|sh|php = "vim" -- "$@"
!mime ^text, label pager, ext xml|csv|tex|py|pl|rb|sh|php = "$PAGER" -- "$@"
@@ -108,7 +109,7 @@ ext php = urxvt -e php -- "$1"
#--------------------------------------------
# Audio without X
#-------------------------------------------
-mime ^audio|ogg$, terminal, has mplayer = mpv -- "$@"
+mime ^audio|ogg$, terminal, has mpv = mpv -- "$@"
mime ^audio|ogg$, terminal, has mplayer = mplayer -- "$@"
mime ^audio|ogg$, terminal, has mplayer2 = mplayer2 -- "$@"
ext midi?, terminal, has wildmidi = wildmidi -- "$@"