kitten-hints(1) kitty kitten-hints(1) (NAME) kitten-hints - (OVERVIEW) kitty << >> (hints mode) . ctrl+shift+e <# shortcut-kitty.Open-URL> (URL) . URL ( ) ctrl+shift+p>f <#shortcut-kitty.Insert-selected- path> git ls . ctrl+shift+p>n <#shortcut-kitty.Open-the- selected-file-at-the-selected-line> ( +linenum ). kitten . : map ctrl+g kitten hints --type=linenum --linenum-action=tab nvim +{line} {path} Ctrl+G Neovim . ctrl+shift+p>y <#shortcut-kitty .Open-the-selected-hyperlink> (hyperlinks) <#term-hyperlinks> ls --hyperlink=auto. ls GNU Coreutils . <>. : . . Enter Space . hints kitten . hints kitten . kitty.conf . insert_selected_path <#shortcut-kitty .Insert-selected-path> . (CUSTOMIZING HINTS) hints kitten . hints kitten . . custom-hints.py kitty <# confloc> : import re def mark(text, args, Mark, extra_cli_args, *a): # # extra_cli_args kitten # for idx, m in enumerate(re.finditer(r'\w+', text)): start, end = m.span() mark_text = text[start:end].replace('\n', '').replace('\0', '') # groupdicts handle_result() # JSON yield Mark(idx, start, end, mark_text, {}) def handle_result(args, data, target_window_id, boss, extra_cli_args, *a): # # matches groupdicts # mark() matches, groupdicts = [], [] for m, g in zip(data['match'], data['groupdicts']): if m: matches.append(m), groupdicts.append(g) for word, match_data in zip(matches, groupdicts): # open_url # boss.open_url(f'https://www.google.com/search?q=define:{word}') kitty : kitty -o 'map f1 kitten hints --customize-processing custom-hints.py' F1 . (SOURCE CODE) kitten . (COMMAND LINE INTERFACE) kitten hints [options] . (URL) . (OPTIONS) --program . . : - . @ . * (primary selection ). @NAME @a default . --type hyperlink <> . launch launch <> . : --program "launch --type=tab vim" . --type . linenum --regex path line . path:line . --linenum-action . : url : hash, hyperlink, ip, line, linenum, path, regex, url, word --regex (Regex) --type regex (Perl 5). . / . . null (CR) (LF) [\0\r\n] . null . --program key=value . : (?m)^\s*(.+?)\s*$ --linenum-action . self window kitty tab os_window background . remote-control kitty . kitten : kitten hints --type=linenum --linenum-action=tab vim +{line} {path} vim . --program self . : self : background, os_window, remote-control, self, tab, window --url-prefixes . url_prefixes <#opt-kitty.url_prefixes> kitty.conf . : default --url-excluded-characters URL . url_excluded_characters <#opt-kitty .url_excluded_characters> kitty.conf . url_excluded_characters <#opt-kitty.url_excluded_characters> . : default --word-characters . (alphanumeric) . select_by_word_characters <#opt-kitty .select_by_word_characters> kitty.conf . --minimum-match-length . : 3 --multiple [=no] . Esc . --multiple-joiner . : space - newline - empty - json - JSON auto - . . 0 -1 . : auto --add-trailing-space . auto --multiple . : auto : always, auto, never --hints-offset ( ) . . : 1 --prefix-free [=no] . "abc" "b" "c" "aa" "ab" "a" "b" "c" "aa" ( "a" "aa" ). . --hints-offset . --alphabet . . . --hints-offset . --ascending [=no] . --hints-foreground-color . . bright- . : black --hints-background-color . . bright- . : green --hints-text-color ( ). . bright- . . : auto --hints-text-background-color ( ). . bright- . . : auto --customize-processing kitty . . . --window-title . : action_alias <#opt-kitty.action_alias> kitty.conf . : action_alias myhints kitten hints --alphabet qfjdkslaureitywovmcxzpq1234567890 map f1 myhints --customize-processing custom-hints.py (AUTHOR) Kovid Goyal (COPYRIGHT) 2026, Kovid Goyal 0.48.2 July 30, 2026 kitten-hints(1)