From 7cc3d5907f40a274d176930de6deb48752748c67 Mon Sep 17 00:00:00 2001 From: pagedown Date: Tue, 8 Feb 2022 01:07:23 +0800 Subject: [PATCH] Docs: Prefer namespaced launch points --- docs/faq.rst | 4 ++-- kittens/icat/main.py | 2 +- kitty/options/definition.py | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/faq.rst b/docs/faq.rst index 506190427..009646dc1 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -208,7 +208,7 @@ bitmapped fonts. symbol_map U+23FB-U+23FE,U+2B58,U+E200-U+E2A9,U+E0A0-U+E0A3,U+E0B0-U+E0BF,U+E0C0-U+E0C8,U+E0CC-U+E0CF,U+E0D0-U+E0D2,U+E0D4,U+E700-U+E7C5,U+F000-U+F2E0,U+2665,U+26A1,U+F400-U+F4A8,U+F67C,U+E000-U+E00A,U+F300-U+F313,U+E5FA-U+E62B Symbols Nerd Font -If your font is not listed in ``kitty list-fonts`` it means that it is not +If your font is not listed in ``kitty +list-fonts`` it means that it is not monospace or is a bitmapped font. On Linux you can list all monospace fonts with:: fc-list : family spacing outline scalable | grep -e spacing=100 -e spacing=90 | grep -e outline=True | grep -e scalable=True @@ -236,7 +236,7 @@ command to rebuild your fontconfig cache:: fc-cache -r -Then, the font will be available in ``kitty list-fonts``. +Then, the font will be available in ``kitty +list-fonts``. How can I assign a single global shortcut to bring up the kitty terminal? diff --git a/kittens/icat/main.py b/kittens/icat/main.py index faa7cd40d..2e639c725 100755 --- a/kittens/icat/main.py +++ b/kittens/icat/main.py @@ -102,7 +102,7 @@ detecting image display support. --print-window-size type=bool-set Print out the window size as :italic:`widthxheight` (in pixels) and quit. This is a -convenience method to query the window size if using kitty icat from a +convenience method to query the window size if using :code:`kitty +kitten icat` from a scripting language that cannot make termios calls. diff --git a/kitty/options/definition.py b/kitty/options/definition.py index a55ed094e..6be39b577 100644 --- a/kitty/options/definition.py +++ b/kitty/options/definition.py @@ -33,7 +33,7 @@ and even specify special fonts for particular characters. opt('font_family', 'monospace', long_text=''' You can specify different fonts for the bold/italic/bold-italic variants. -To get a full list of supported fonts use the `kitty list-fonts` command. +To get a full list of supported fonts use the `kitty +list-fonts` command. By default they are derived automatically, by the OSes font system. When bold_font or bold_italic_font is set to :code:`auto` on macOS, the priority of bold fonts is semi-bold, bold, heavy. Setting them manually is useful for font @@ -166,11 +166,11 @@ disable a feature in the italic font but not in the regular font. On Linux, these are read from the FontConfig database first and then this, setting is applied, so they can be configured in a single, central place. -To get the PostScript name for a font, use :code:`kitty + list-fonts --psnames`: +To get the PostScript name for a font, use :code:`kitty +list-fonts --psnames`: .. code-block:: sh - $ kitty + list-fonts --psnames | grep Fira + $ kitty +list-fonts --psnames | grep Fira Fira Code Fira Code Bold (FiraCode-Bold) Fira Code Light (FiraCode-Light)