From e35ef29559ac978de859d3d56512d952746162a0 Mon Sep 17 00:00:00 2001 From: Thomas Dehaeze Date: Wed, 10 Feb 2021 17:58:41 +0100 Subject: [PATCH] convert file shortcut --- ranger.org | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/ranger.org b/ranger.org index 3f79f3e..07d16a3 100644 --- a/ranger.org +++ b/ranger.org @@ -202,8 +202,7 @@ map ,d shell pdf-delete-first-page %f Convert images/pdf/... #+BEGIN_SRC conf -map ,cp shell pdf2png %f -map ,cc shell convert-file %f +map ,c shell convert-file %f #+END_SRC Magit Status @@ -684,10 +683,9 @@ ext epub, has mupdf, X, flag f = mupdf "$@" ext docx?, has wps, X, flag f = wps "$@" +ext docx?, has onlyoffice, X, flag f = onlyoffice "$@" -ext docx?, has catdoc, terminal = catdoc -- "$@" | "$PAGER" - - ext pptx?|od[dfgpst]|docx?|sxc|xlsx?|xlt|xlw|gnm|gnumeric, has wpp, X, flag f = wpp "$@" +ext pptx?|od[dfgpst]|docx?|sxc|xlsx?|xlt|xlw|gnm|gnumeric, has wpp, X, flag f = wpp "$@" ext sxc|xlsx?|xlt|xlw|gnm|gnumeric, has gnumeric, X, flag f = gnumeric -- "$@" ext sxc|xlsx?|xlt|xlw|gnm|gnumeric, has kspread, X, flag f = kspread -- "$@" ext pptx?|od[dfgpst]|docx?|sxc|xlsx?|xlt|xlw|gnm|gnumeric, has libreoffice, X, flag f = libreoffice "$@"