1yr later, i dont know what all i changed, i do not care enough to check either

This commit is contained in:
nova
2025-03-09 22:10:39 +01:00
parent 7f729599a9
commit f5483cbfd6
30 changed files with 6561 additions and 325 deletions

View File

@ -25,6 +25,10 @@ set dirname_in_tabs false
# Enable the mouse support?
set mouse_enabled false
set line_numbers relative
#set colorscheme=ls_colors
# ===================================================================
# == Command Aliases in the Console
@ -79,7 +83,7 @@ map @ console -p6 shell %%s
map # console shell -p%space
map b console shell%space
map r chain draw_possible_programs; console open_with%space
map f console find%space
map / console find%space
map cd console cd%space
map <C-p> chain console; eval fm.ui.console.history_move(-1)
@ -95,7 +99,7 @@ map MH linemode sizehumanreadablemtime
map Mt linemode metatitle
# Tagging / Marking
#map t tag_toggle
map , tag_toggle
map ut tag_remove
map "<any> tag_toggle tag=%any
map <Space> mark_files toggle=True
@ -226,7 +230,7 @@ map yj eval fm.copy(dirarg=dict(down=1), narg=quantifier)
map yk eval fm.copy(dirarg=dict(up=1), narg=quantifier)
# Searching
map / console search%space
#map / console search%space
map l search_next
map L search_next forward=False
map ct search_next order=tag
@ -461,3 +465,12 @@ tmap <delete> eval -q fm.ui.taskview.task_remove()
tmap <C-l> redraw_window
tmap <ESC> taskview_close
copytmap <ESC> q Q w <C-c>
# ===================================================================
# == Archival stuff
# ===================================================================
map uz console shell unzip%space
map ur console shell unrar x%space
map u7 console shell 7z x%space
map mk console mkdir%space

View File

@ -32,7 +32,7 @@ FILE_PATH="${1}" # Full path of the highlighted file
PV_WIDTH="${2}" # Width of the preview pane (number of fitting characters)
## shellcheck disable=SC2034 # PV_HEIGHT is provided for convenience and unused
PV_HEIGHT="${3}" # Height of the preview pane (number of fitting characters)
IMAGE_CACHE_PATH="${4}" # Full path that should be used to cache image preview
IMAGE_CACHE_PATH="/tmp/cache/ranger" # Full path that should be used to cache image preview
PV_IMAGE_ENABLED="${5}" # 'True' if image previews are enabled, 'False' otherwise.
FILE_EXTENSION="${FILE_PATH##*.}"