mirror of
https://github.com/VectorKappa/dotfiles.git
synced 2025-12-19 08:16:10 +01:00
Ranger trash fix, also kitty previews
This commit is contained in:
@@ -34,7 +34,7 @@ set column_ratios 1,3,4
|
|||||||
set hidden_filter ^\.|\.(?:pyc|pyo|bak|swp)$|^lost\+found$|^__(py)?cache__$
|
set hidden_filter ^\.|\.(?:pyc|pyo|bak|swp)$|^lost\+found$|^__(py)?cache__$
|
||||||
|
|
||||||
# Show hidden files? You can toggle this by typing 'zh'
|
# Show hidden files? You can toggle this by typing 'zh'
|
||||||
set show_hidden false
|
set show_hidden true
|
||||||
|
|
||||||
# Ask for a confirmation when running the "delete" command?
|
# Ask for a confirmation when running the "delete" command?
|
||||||
# Valid values are "always", "never", "multiple" (default)
|
# Valid values are "always", "never", "multiple" (default)
|
||||||
@@ -57,7 +57,7 @@ set automatically_count_files true
|
|||||||
set open_all_images true
|
set open_all_images true
|
||||||
|
|
||||||
# Be aware of version control systems and display information.
|
# Be aware of version control systems and display information.
|
||||||
set vcs_aware false
|
set vcs_aware true
|
||||||
|
|
||||||
# State of the four backends git, hg, bzr, svn. The possible states are
|
# State of the four backends git, hg, bzr, svn. The possible states are
|
||||||
# disabled, local (only show local info), enabled (show local and remote
|
# disabled, local (only show local info), enabled (show local and remote
|
||||||
@@ -71,7 +71,7 @@ set vcs_backend_svn disabled
|
|||||||
set vcs_msg_length 50
|
set vcs_msg_length 50
|
||||||
|
|
||||||
# Use one of the supported image preview protocols
|
# Use one of the supported image preview protocols
|
||||||
set preview_images false
|
set preview_images true
|
||||||
|
|
||||||
# Set the preview image method. Supported methods:
|
# Set the preview image method. Supported methods:
|
||||||
#
|
#
|
||||||
@@ -114,7 +114,7 @@ set preview_images false
|
|||||||
# Preview images in full color with the external command "ueberzug".
|
# Preview images in full color with the external command "ueberzug".
|
||||||
# Images are shown by using a child window.
|
# Images are shown by using a child window.
|
||||||
# Only for users who run X11 in GNU/Linux.
|
# Only for users who run X11 in GNU/Linux.
|
||||||
set preview_images_method ueberzug
|
set preview_images_method kitty
|
||||||
|
|
||||||
# Delay in seconds before displaying an image with the w3m method.
|
# Delay in seconds before displaying an image with the w3m method.
|
||||||
# Increase it in case of experiencing display corruption.
|
# Increase it in case of experiencing display corruption.
|
||||||
@@ -128,7 +128,7 @@ set iterm2_font_width 8
|
|||||||
set iterm2_font_height 11
|
set iterm2_font_height 11
|
||||||
|
|
||||||
# Use a unicode "..." character to mark cut-off filenames?
|
# Use a unicode "..." character to mark cut-off filenames?
|
||||||
set unicode_ellipsis false
|
set unicode_ellipsis true
|
||||||
|
|
||||||
# BIDI support - try to properly display file names in RTL languages (Hebrew, Arabic).
|
# BIDI support - try to properly display file names in RTL languages (Hebrew, Arabic).
|
||||||
# Requires the python-bidi pip package
|
# Requires the python-bidi pip package
|
||||||
@@ -183,7 +183,7 @@ set display_free_space_in_status_bar true
|
|||||||
set display_tags_in_all_columns true
|
set display_tags_in_all_columns true
|
||||||
|
|
||||||
# Set a title for the window? Updates both `WM_NAME` and `WM_ICON_NAME`
|
# Set a title for the window? Updates both `WM_NAME` and `WM_ICON_NAME`
|
||||||
set update_title false
|
set update_title true
|
||||||
|
|
||||||
# Set the tmux/screen window-name to "ranger"?
|
# Set the tmux/screen window-name to "ranger"?
|
||||||
set update_tmux_title true
|
set update_tmux_title true
|
||||||
|
|||||||
@@ -280,5 +280,5 @@ label pager, !mime ^text, !ext xml|json|csv|tex|py|pl|rb|js|sh|php = "$PAGER"
|
|||||||
mime application/x-executable = "$1"
|
mime application/x-executable = "$1"
|
||||||
|
|
||||||
# Move the file to trash using trash-cli.
|
# Move the file to trash using trash-cli.
|
||||||
label trash, has trash-put = trash-put -- "$@"
|
label trash, has trash-put = trash-put "$@"
|
||||||
label trash = mkdir -p -- ${XDG_DATA_DIR:-$HOME/.ranger}/ranger-trash; mv -- "$@" ${XDG_DATA_DIR:-$HOME/.ranger}/ranger-trash
|
label trash = mkdir -p -- ${XDG_DATA_DIR:-$HOME/.ranger}/ranger-trash; mv -- "$@" ${XDG_DATA_DIR:-$HOME/.ranger}/ranger-trash
|
||||||
|
|||||||
Reference in New Issue
Block a user