kitty

Mar 16, 2024

https://sw.kovidgoyal.net/kitty/

The fast, feature-rich, GPU based terminal emulator

opening files with clicks

# cd into the clicked directory and list its contents protocol file mime inode/directory action send_text normal,application cd ${FILE_PATH}\rls\r # If a line number is clicked (indicated by presence of a fragment), jump to # that line number in an editor. Use `rg --hyperlink-format=kitty` to use this # feature protocol file fragment_matches [0-9]+ action send_text normal,application $EDITOR +${FRAGMENT} ${FILE_PATH}\r # Open text files without fragments in the editor protocol file mime text/*,application/* action send_text normal,application $EDITOR ${FILE_PATH}\r # some files were matching by extension to opening with system stuff. Add to # this extension list to open more types of files with vim protocol file ext yml,json,ts,tsx,jsx,py,sh,bash,rb,tf,dot action send_text normal,application $EDITOR ${FILE_PATH}\r # Dockerfile doesn't match by extension or mime type, so use a regex on the # name protocol file url Dockerfile action send_text normal,application $EDITOR ${FILE_PATH}\r # Open image files with icat protocol file mime image/* action send_text normal,application icat ${FILE_PATH}\r
↑ up