diff --git a/config/ranger/rc.conf b/config/ranger/rc.conf index 9d08a6a7..6ef7dcc7 100644 --- a/config/ranger/rc.conf +++ b/config/ranger/rc.conf @@ -114,7 +114,7 @@ set preview_images false # Preview images in full color with the external command "ueberzug". # Images are shown by using a child window. # Only for users who run X11 in GNU/Linux. -set preview_images_method w3m +set preview_images_method kitty # Delay in seconds before displaying an image with the w3m method. # Increase it in case of experiencing display corruption. diff --git a/config/ranger/rifle.conf b/config/ranger/rifle.conf index 86f53fd1..82a882fb 100644 --- a/config/ranger/rifle.conf +++ b/config/ranger/rifle.conf @@ -100,7 +100,7 @@ name ^[mM]akefile$ = make #-------------------------------------------- # Scripts #------------------------------------------- -ext py = python -- "$1" +ext py = python3 -- "$1" ext pl = perl -- "$1" ext rb = ruby -- "$1" ext js = node -- "$1" @@ -211,11 +211,11 @@ ext iso|jar|msi|pkg|rar|shar|tar|tgz|xar|xpi|xz|zip, has atool = atool --extract ext tar|gz|bz2|xz, has tar = tar vvtf "$1" | "$PAGER" ext tar|gz|bz2|xz, has tar = for file in "$@"; do tar vvxf "$file"; done ext bz2, has bzip2 = for file in "$@"; do bzip2 -dk "$file"; done -ext zip, has unzip = unzip -l "$1" | less +ext zip, has unzip = unzip -l "$1" | "$PAGER" ext zip, has unzip = for file in "$@"; do unzip -d "${file%.*}" "$file"; done -ext ace, has unace = unace l "$1" | less +ext ace, has unace = unace l "$1" | "$PAGER" ext ace, has unace = for file in "$@"; do unace e "$file"; done -ext rar, has unrar = unrar l "$1" | less +ext rar, has unrar = unrar l "$1" | "$PAGER" ext rar, has unrar = for file in "$@"; do unrar x "$file"; done #-------------------------------------------