aboutsummaryrefslogtreecommitdiff
path: root/File_Manager
diff options
context:
space:
mode:
authorVasil Zlatanov <vasil.zlatanov@gmail.com>2016-03-27 18:44:59 +0100
committerVasil Zlatanov <vasil.zlatanov@gmail.com>2016-03-27 18:44:59 +0100
commitcf14dfc8ef7801801036ee09b38aacfa630012c4 (patch)
treecaf852ae8d477199c0eecfa68228fe8beab268b1 /File_Manager
parentab7dba8a59115a10ade4f35d83305aff366bc827 (diff)
downloaddotfiles-cf14dfc8ef7801801036ee09b38aacfa630012c4.tar.gz
dotfiles-cf14dfc8ef7801801036ee09b38aacfa630012c4.tar.bz2
dotfiles-cf14dfc8ef7801801036ee09b38aacfa630012c4.zip
updates
Diffstat (limited to 'File_Manager')
-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 -- "$@"