aboutsummaryrefslogtreecommitdiffstats
path: root/.config/ranger
diff options
context:
space:
mode:
authorshmibs <shmibs@gmail.com>2014-06-29 10:38:59 -0700
committershmibs <shmibs@gmail.com>2014-06-29 10:38:59 -0700
commit5868104f033ebf2ffceb7458baeaa748574ce310 (patch)
treed7e48c00571d7227e7190df73ce7c5dffa4fc9d4 /.config/ranger
parentc6c2695b03dcc98c5a9fb2e8b2622e4e5685a63b (diff)
downloaddotfiles-5868104f033ebf2ffceb7458baeaa748574ce310.tar.gz
fixed vim indenting
i'm a dankas sometimes...
Diffstat (limited to '.config/ranger')
-rw-r--r--.config/ranger/rifle.conf7
1 files changed, 3 insertions, 4 deletions
diff --git a/.config/ranger/rifle.conf b/.config/ranger/rifle.conf
index cdd34ca..ee189c7 100644
--- a/.config/ranger/rifle.conf
+++ b/.config/ranger/rifle.conf
@@ -74,9 +74,7 @@ ext x?html?, has w3m, terminal = w3m "$@"
#-------------------------------------------
# Define the "editor" for text files as first action
mime ^text, label editor = "$EDITOR" -- "$@"
-mime ^text, label pager = "$PAGER" -- "$@"
!mime ^text, label editor, ext xml|csv|tex|py|pl|rb|sh|php = "$EDITOR" -- "$@"
-!mime ^text, label pager, ext xml|csv|tex|py|pl|rb|sh|php = "$PAGER" -- "$@"
ext 1 = man "$1"
ext exe = wine "$1"
@@ -122,6 +120,8 @@ ext xcf, X, flag f = gimp -- "$@"
#-------------------------------------------
ext pdf|ps, has zathura, X, flag f = zathura -- "$@"
+ext tex, has latex = latex -- "-output-format=pdf" "$@"
+
ext docx?, has catdoc, terminal = catdoc -- "$@" | "$PAGER"
ext sxc|xlsx?|xlt|xlw|gnm|gnumeric, has gnumeric, X, flag f = gnumeric -- "$@"
@@ -167,7 +167,6 @@ label wallpaper, number 12, mime ^image, X = feh --bg-tile "$1"
label wallpaper, number 13, mime ^image, X = feh --bg-center "$1"
label wallpaper, number 14, mime ^image, X = feh --bg-fill "$1"
-# Define the editor for non-text files + pager as last action
+# Define the editor for non-text files as last action
!mime ^text, !ext xml|csv|tex|py|pl|rb|sh|php = ask
label editor, !mime ^text, !ext xml|csv|tex|py|pl|rb|sh|php = "$EDITOR" -- "$@"
-label pager, !mime ^text, !ext xml|csv|tex|py|pl|rb|sh|php = "$PAGER" -- "$@"