Ranger now displays two columns

This commit is contained in:
Thomas Dehaeze 2019-08-23 09:59:15 +02:00
parent d15767f03c
commit ebe444ef2f

View File

@ -16,7 +16,7 @@ set viewmode miller
#set viewmode multipane #set viewmode multipane
# How many columns are there, and what are their relative widths? # 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) # Which files should be hidden? (regular expression)
#set hidden_filter ^\.|\.(?:pyc|pyo|bak|swp)$|^lost\+found$|^__(py)?cache__$ #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/ map gc cd ~/.config/literate-dotfiles/
#+END_SRC #+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 *** External Programs
#+BEGIN_SRC conf #+BEGIN_SRC conf
map E edit map E edit
@ -791,8 +797,8 @@ default_linemode devicons
#------------------------------------------- #-------------------------------------------
# Documents # Documents
#------------------------------------------- #-------------------------------------------
ext pdf, has llpp, X, flag f = llpp "$@"
ext pdf, has zathura, X, flag f = zathura -- "$@" 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 "$@"
ext pdf, has mupdf, X, flag f = mupdf -I "$@" ext pdf, has mupdf, X, flag f = mupdf -I "$@"
ext pdf, has mupdf-x11,X, flag f = mupdf-x11 "$@" 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 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 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 gnumeric, X, flag f = gnumeric -- "$@"
ext sxc|xlsx?|xlt|xlw|gnm|gnumeric, has kspread, X, flag f = kspread -- "$@" 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 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 soffice, X, flag f = soffice "$@"
ext pptx?|od[dfgpst]|docx?|sxc|xlsx?|xlt|xlw|gnm|gnumeric, has ooffice, X, flag f = ooffice "$@" ext pptx?|od[dfgpst]|docx?|sxc|xlsx?|xlt|xlw|gnm|gnumeric, has ooffice, X, flag f = ooffice "$@"