diff --git a/docs/changelog.rst b/docs/changelog.rst index 85d264b15..01ab0fea1 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1270,7 +1270,7 @@ Detailed list of changes - macOS: Fix keyboard input not working after toggling fullscreen till the window is clicked in -- A new mappable action ``nth_os_window`` to to focus the specified nth OS +- A new mappable action ``nth_os_window`` to focus the specified nth OS window. (:pull:`4316`) - macOS: The kitty window can be scrolled by the mouse wheel when OS window not diff --git a/docs/file-transfer-protocol.rst b/docs/file-transfer-protocol.rst index 4fcf341d9..dec45392d 100644 --- a/docs/file-transfer-protocol.rst +++ b/docs/file-transfer-protocol.rst @@ -126,7 +126,7 @@ receiving:: ... The client must then wait for responses from the terminal emulator. It -is an error to send anymore commands to to the terminal until an ``OK`` +is an error to send anymore commands to the terminal until an ``OK`` response is received from the terminal. The terminal wait for the user to accept the request. If accepted, it sends:: diff --git a/kitty/fonts.c b/kitty/fonts.c index 573521293..6a3dd590d 100644 --- a/kitty/fonts.c +++ b/kitty/fonts.c @@ -921,7 +921,7 @@ detect_spacer_strategy(hb_font_t *hbf, Font *font) { } } - // If spacer_strategy is still default, check ### glyph to to confirm strategy + // If spacer_strategy is still default, check ### glyph to confirm strategy // https://github.com/kovidgoyal/kitty/issues/4721 if (font->spacer_strategy == SPACERS_BEFORE) { cpu_cells[0].ch = '#'; cpu_cells[1].ch = '#'; cpu_cells[2].ch = '#'; diff --git a/kitty/line.c b/kitty/line.c index 1a1011b10..1ab1bb5fe 100644 --- a/kitty/line.c +++ b/kitty/line.c @@ -899,7 +899,7 @@ as_text_generic(PyObject *args, void *container, get_line_func get_line, index_t // Boilerplate {{{ static PyObject* copy_char(Line* self, PyObject *args); -#define copy_char_doc "copy_char(src, to, dest) -> Copy the character at src to to the character dest in the line `to`" +#define copy_char_doc "copy_char(src, to, dest) -> Copy the character at src to the character dest in the line `to`" #define hyperlink_ids_doc "hyperlink_ids() -> Tuple of hyper link ids at every cell" static PyObject* diff --git a/shell-integration/bash/kitty.bash b/shell-integration/bash/kitty.bash index 986c7873e..84ef94691 100644 --- a/shell-integration/bash/kitty.bash +++ b/shell-integration/bash/kitty.bash @@ -60,7 +60,7 @@ if [[ -n "$KITTY_BASH_INJECT" ]]; then else if [[ "$kitty_bash_inject" != *"no-rc"* ]]; then # Linux distros build bash with -DSYS_BASHRC. Unfortunately, there is - # no way to to probe bash for it and different distros use different files + # no way to probe bash for it and different distros use different files # Arch, Debian, Ubuntu use /etc/bash.bashrc # Fedora uses /etc/bashrc sourced from ~/.bashrc instead of SYS_BASHRC # Void Linux uses /etc/bash/bashrc