From 2d8deb86bbddeddef4a12d2fcbaff68da65159f1 Mon Sep 17 00:00:00 2001 From: Lorenzo Zabot Date: Sat, 16 Mar 2024 14:43:23 +0100 Subject: [PATCH] docs: minor adjustements --- docs/layouts.rst | 2 +- kitty/options/definition.py | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/layouts.rst b/docs/layouts.rst index f113cdebd..44f40511d 100644 --- a/docs/layouts.rst +++ b/docs/layouts.rst @@ -141,7 +141,7 @@ The Splits Layout -------------------- This is the most flexible layout. You can create any arrangement of windows -by splitting exiting windows repeatedly. To best use this layout you should +by splitting existing windows repeatedly. To best use this layout you should define a few extra key bindings in :file:`kitty.conf`:: # Create a new window splitting the space used by the existing one so that diff --git a/kitty/options/definition.py b/kitty/options/definition.py index 26f0daed1..2632da17d 100644 --- a/kitty/options/definition.py +++ b/kitty/options/definition.py @@ -58,7 +58,7 @@ opt('font_size', '11.0', option_type='to_font_size', ctype='double', - long_text='Font size (in pts)' + long_text='Font size (in pts).' ) opt('force_ltr', 'no', @@ -311,7 +311,7 @@ long_text=''' The color of text under the cursor. If you want it rendered with the background color of the cell underneath instead, use the special keyword: -background. Note that if :opt:`cursor` is set to :code:`none` then this option +`background`. Note that if :opt:`cursor` is set to :code:`none` then this option is ignored. Note that some themes set this value, so if you want to override it, place your value after the lines where the theme file is included. ''' @@ -791,7 +791,7 @@ 'select_line_from_point ctrl+alt+left triplepress ungrabbed mouse_selection line_from_point', long_text='Select from the clicked point to the end of the line.' ' If you would like to select the word at the point and then extend to the rest of the line,' - ' change line_from_point to word_and_line_from_point.' + ' change `line_from_point` to `word_and_line_from_point`.' ) mma('Extend the current selection', @@ -830,7 +830,7 @@ 'select_line_from_point_grabbed ctrl+shift+alt+left triplepress ungrabbed,grabbed mouse_selection line_from_point', long_text='Select from the clicked point to the end of the line even when grabbed.' ' If you would like to select the word at the point and then extend to the rest of the line,' - ' change line_from_point to word_and_line_from_point.' + ' change `line_from_point` to `word_and_line_from_point`.' ) mma('Extend the current selection even when grabbed', @@ -915,7 +915,7 @@ option_type='to_bool', ctype='bool', long_text=''' Request window attention on bell. Makes the dock icon bounce on macOS or the -taskbar flash on linux. +taskbar flash on Linux. ''' ) @@ -948,7 +948,7 @@ Path to a sound file to play as the bell sound. If set to :code:`none`, the system default bell sound is used. Must be in a format supported by the operating systems sound API, such as WAV or OGA on Linux (libcanberra) or AIFF, -MP3 or WAV on macOS (NSSound) +MP3 or WAV on macOS (NSSound). ''' )