From 6b7eed11165661f1a2ff17b305475346641344b7 Mon Sep 17 00:00:00 2001 From: Dionisio E Alonso Date: Sat, 9 Jan 2021 23:31:06 -0300 Subject: [PATCH] Add Kitty settings for using stylistic sets --- How-to-enable-stylistic-sets.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/How-to-enable-stylistic-sets.md b/How-to-enable-stylistic-sets.md index ef9ad29..172e379 100644 --- a/How-to-enable-stylistic-sets.md +++ b/How-to-enable-stylistic-sets.md @@ -58,6 +58,26 @@ Create or edit an [`rstheme` file](https://rstudio.github.io/rstudio-extensions/ } ``` +# Kitty + +Select which font variant you wish to use (Regular, Medium, Light, ...) and set that as your font on the kitty's config file (`~/.config/kitty/kitty.conf`), for instance: + +``` +font_family Fira Code Regular +``` + +Then fetch the PS Name (the value between parenthesis) of the chosen font variant using kitty: + +``` shell +$ kitty + list-fonts --psnames | grep "Fira Code Regular" +``` + +Finally use the PS Name setting the following key in the `kitty.conf` file: + +``` +font_features FiraCode-Regular +ss01 +ss02 +ss03 +ss04 +ss05 +ss07 +ss08 +zero +onum +``` + # Some Apple apps ![](https://user-images.githubusercontent.com/285292/64178997-0f98b780-ce6b-11e9-8091-34eab83ca288.png)