- Open below directory in Finder with Cmnd + Shift + G
/Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Versions/A/Resources/
based on https://www.reddit.com/r/vim/comments/24g8r8/italics_in_terminal_vim_and_tmux/
$ echo -e "\e[3mitalic\e[23m"
$ infocmp $TERM | grep sitm
sgr0=\E(B\E[m, sitm=\E[3m, smacs=\E(0, smam=\E[?7h,
# Install: | |
# | |
# mkdir ~/.terminfo # optional; can also install to $HOME/share/terminfo | |
# infocmp screen-256color > screen-256color.terminfo.original # backup | |
# mkdir dry-run | |
# tic -o dry-run screen-256color.terminfo | |
# infocmp -A dry-run screen-256color > screen-256color.terminfo.new | |
# diff -u screen-256color.terminfo.{original,new} | |
# tic screen-256color.terminfo # overwrites the old terminfo | |
# |
Here is the best setup (I think so :D) for K-series Keychron keyboards on Linux.
Most of these commands have been tested on Ubuntu 20.04 and should also work on most Debian-based distributions. If a command happens not to work for you, take a look in the comment section.
Keychron Keyboards on Linux use the hid_apple
driver (even in Windows/Android mode), both in Bluetooth and Wired modes.
By default, this driver uses the F-keys as multimedia shortcuts and you have to press Fn
+ the key to get the usual F1 through F12 keys.