summaryrefslogtreecommitdiff
path: root/.config/ranger/rc.conf
diff options
context:
space:
mode:
Diffstat (limited to '.config/ranger/rc.conf')
-rw-r--r--.config/ranger/rc.conf18
1 files changed, 14 insertions, 4 deletions
diff --git a/.config/ranger/rc.conf b/.config/ranger/rc.conf
index 330ba3b..1a30441 100644
--- a/.config/ranger/rc.conf
+++ b/.config/ranger/rc.conf
@@ -34,7 +34,7 @@ set hidden_filter ^\.|\.(?:pyc|pyo|bak|swp)$|^lost\+found$|^__(py)?cache__$
# Show hidden files? You can toggle this by typing 'zh'
set show_hidden false
-
+set wrap_plaintext_previews true
# Ask for a confirmation when running the "delete" command?
# Valid values are "always", "never", "multiple" (default)
# With "multiple", ranger will ask only if you delete multiple files at once.
@@ -87,7 +87,7 @@ set preview_images true
# * urxvt-full:
# The same as urxvt but utilizing not only the preview pane but the
# whole terminal window.
-set preview_images_method kitty
+set preview_images_method w3m
# Use a unicode "..." character to mark cut-off filenames?
set unicode_ellipsis false
@@ -210,7 +210,7 @@ set metadata_deep_search false
set clear_filters_on_dir_change false
# Disable displaying line numbers in main column
-set line_numbers false
+set line_numbers absolute
# ===================================================================
# == Local Options
@@ -219,6 +219,8 @@ set line_numbers false
# Examples:
# setlocal path=~/downloads sort mtime
+setlocal path=~/notes sort mtime
+setlocal path=~/notes/reading sort mtime
# ===================================================================
# == Command Aliases in the Console
@@ -267,7 +269,7 @@ map ! console shell%space
map @ console -p6 shell %%s
map # console shell -p%space
map s console shell%space
-map r chain draw_possible_programs; console open_with%%space
+map r chain draw_possible_programs; console open_with%space
map f console find%space
map cd console cd%space
@@ -613,4 +615,12 @@ copytmap <ESC> q Q w <C-c>
map DD shell mv -t /home/${USER}/.Trash %s
+##### files ##########
+map fl less %f #view file with less. q to quit (ranger i doesn't show full file)
+# create dir
+map ff console mkdir%space
+ # create file
+map ft console touch%space
+# open in gimp
+map og shell -f gimp %s