1
0
forked from extern/nix-config
donovanglover-nix-config/extras/.config/ranger/rc.conf
Donovan Glover 207ef19a7b
meta: Add kitty
I've gone through a lot of terminal emulators by now, and have always
switched between URxvt and Termite (due to the features they support).

For URxvt, this is particularly cumbersome since the version in the
official repositories does not have the patches required for practical
use. Even with patches applied, URxvt supports neither true color nor
emoji. Termite worked well, but it lacked image support.

Kitty features all of the following:

- True color support
- Image support
- Emoji support
- Icon fonts support
- Transparency support

Additionally, projects like Ranger and Neofetch have already taken the
initiative to support the Kitty image protocol (which, luckily for me,
are the only programs I use with images in the terminal).

Why not Alacritty, the other GPU-based terminal?
---

Although Alacritty is also very performant, there are several things
that keep me away from this terminal emulator.

Alacritty, as of this writing, renders neither images nor emoji.
Although it is certainly possible to use a terminal emulator without
either of these, the lack of these features limits what you can do with
the program you (presumably) spend the most time with on your computer.

The current config setup is "all or nothing"; I cannot remove defaults
from my alacritty.yml and expect those same defaults to carry over.
Even common terminal escape sequences are hard-coded into the config
file, which cannot be removed without breaking things.

Some other benefits of kitty:

- Full image support in transparent terminals
- w3m hack + loop is no longer necessary for persistent images
- No weird artifacts around the image
- Can highlight text without affecting the image
- Images aren't lost after switching between desktops
2018-11-07 18:20:19 -05:00

37 lines
879 B
INI

# New Start: A modern Arch workflow built with an emphasis on functionality.
# Copyright (C) 2017-2018 Donovan Glover
# Make it easier to 1) know what view we're in and 2) select files
set line_numbers absolute
# Remove the unused space on the right since we won't be using a mouse
set padding_right false
# Show version control information
set vcs_aware true
# Always confirm that you want to delete something
set confirm_on_delete always
# Don't save the console history on exit
set save_console_history false
# Disable the mouse input to avoid opening random stuff
set mouse_enabled false
# Alias r to rename
alias r rename
# Alias d to delete
alias d delete
# Alias w to wal
alias w shell -fs launch wal -o "$HOME/.config/wal/done.sh" -i %f
set use_preview_script true
set preview_files true
set preview_images true
set preview_images_method kitty
# vim:ft=dosini