diff options
author | katherine <shmibs@shmibbles.me> | 2018-03-22 16:12:30 -0700 |
---|---|---|
committer | katherine <shmibs@shmibbles.me> | 2018-03-22 16:12:30 -0700 |
commit | 47479cf9d96b7b67a8799edb46f70fa559d9ee43 (patch) | |
tree | 2f5394ceea44d092498c7e1bed4349849489532f | |
parent | 8c46bd364cbfd41a91c137ffe04d95387356c009 (diff) | |
download | dotfiles-47479cf9d96b7b67a8799edb46f70fa559d9ee43.tar.gz |
reinstate editor fallback
wiped it accidentally in cleaning
-rw-r--r-- | .config/ranger/rifle.conf | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.config/ranger/rifle.conf b/.config/ranger/rifle.conf index 51422f3..9f1f981 100644 --- a/.config/ranger/rifle.conf +++ b/.config/ranger/rifle.conf @@ -55,7 +55,7 @@ ext 1|2|3|4|5|6|7|8|9 = man "$@" # editor for text files mime ^text, label editor = "$EDITOR" -- "$@" -mime ^text, has urxvt, X, flag f = urxvt -e "$EDITOR" "$@" +mime ^text, label editor 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" "$@" @@ -127,6 +127,9 @@ name ^[mM]akefile$ = make new name ^[mM]akefile$ = make clean name ^[mM]akefile$ = make debug +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" "$@" + # Send to server & copy to clipboard has send, X = send "$@" |