From ebe444ef2ff7951b5ffad10cd0e59b6aa5476af8 Mon Sep 17 00:00:00 2001 From: Thomas Dehaeze Date: Fri, 23 Aug 2019 09:59:15 +0200 Subject: [PATCH] Ranger now displays two columns --- dotfiles/ranger.org | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/dotfiles/ranger.org b/dotfiles/ranger.org index 7c9450b..3608935 100644 --- a/dotfiles/ranger.org +++ b/dotfiles/ranger.org @@ -16,7 +16,7 @@ set viewmode miller #set viewmode multipane # How many columns are there, and what are their relative widths? -set column_ratios 1,3,4 +set column_ratios 1,1 # Which files should be hidden? (regular expression) #set hidden_filter ^\.|\.(?:pyc|pyo|bak|swp)$|^lost\+found$|^__(py)?cache__$ @@ -335,6 +335,12 @@ map ,z shell apack %f.zip %f map gc cd ~/.config/literate-dotfiles/ #+END_SRC +*** TODO [#B] Open With +Should automatically close mimeopen after the program is chosen. +#+BEGIN_SRC conf + map O shell mimeopen -a %f +#+END_SRC + *** External Programs #+BEGIN_SRC conf map E edit @@ -791,8 +797,8 @@ default_linemode devicons #------------------------------------------- # Documents #------------------------------------------- - ext pdf, has llpp, X, flag f = llpp "$@" ext pdf, has zathura, X, flag f = zathura -- "$@" + ext pdf, has llpp, X, flag f = llpp "$@" ext pdf, has mupdf, X, flag f = mupdf "$@" ext pdf, has mupdf, X, flag f = mupdf -I "$@" ext pdf, has mupdf-x11,X, flag f = mupdf-x11 "$@" @@ -808,12 +814,13 @@ default_linemode devicons ext epub, has mupdf, X, flag f = mupdf "$@" - ext docx, has abiword, X, flag f = abiword "$@" + ext docx?, has wps, X, flag f = wps "$@" ext docx?, has catdoc, terminal = catdoc -- "$@" | "$PAGER" 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 wpp, X, flag f = wpp "$@" ext pptx?|od[dfgpst]|docx?|sxc|xlsx?|xlt|xlw|gnm|gnumeric, has libreoffice, X, flag f = libreoffice "$@" ext pptx?|od[dfgpst]|docx?|sxc|xlsx?|xlt|xlw|gnm|gnumeric, has soffice, X, flag f = soffice "$@" ext pptx?|od[dfgpst]|docx?|sxc|xlsx?|xlt|xlw|gnm|gnumeric, has ooffice, X, flag f = ooffice "$@"