integrations.rst 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  1. :tocdepth: 2
  2. Integrations with other tools
  3. ================================
  4. kitty provides extremely powerful interfaces such as :doc:`remote-control` and
  5. :doc:`kittens/custom` and :doc:`kittens/icat` that allow it to be integrated
  6. with other tools seamlessly.
  7. Image and document viewers
  8. ----------------------------
  9. Powered by kitty's :doc:`graphics-protocol` there exist many tools for viewing
  10. images and other types of documents directly in your terminal, even over SSH.
  11. .. _tool_termpdf:
  12. `termpdf.py <https://github.com/dsanson/termpdf.py>`_
  13. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  14. A terminal PDF/DJVU/CBR viewer
  15. .. _tool_mdcat:
  16. `mdcat <https://github.com/lunaryorn/mdcat>`_
  17. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  18. Display markdown files nicely formatted with images in the terminal
  19. .. _tool_ranger:
  20. `ranger <https://github.com/ranger/ranger>`_
  21. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  22. A terminal file manager, with previews of file contents powered by kitty's
  23. graphics protocol.
  24. .. _tool_nnn:
  25. `nnn <https://github.com/jarun/nnn/>`_
  26. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  27. Another terminal file manager, with previews of file contents powered by kitty's
  28. graphics protocol.
  29. .. _tool_hunter:
  30. `hunter <https://github.com/rabite0/hunter>`_
  31. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  32. Another terminal file manager, with previews of file contents powered by kitty's
  33. graphics protocol.
  34. .. _tool_presentterm:
  35. `presenterm <https://github.com/mfontanini/presenterm>`_
  36. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  37. Show markdown based slides with images in your terminal, powered by the
  38. kitty graphics protocol.
  39. .. _tool_term_image:
  40. `term-image <https://github.com/AnonymouX47/term-image>`__
  41. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  42. Tool to browse images in a terminal using kitty's graphics protocol.
  43. .. _tool_koneko:
  44. `koneko <https://github.com/twenty5151/koneko>`_
  45. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  46. Browse images from the pixiv artist community directly in kitty.
  47. .. _tool_viu:
  48. `viu <https://github.com/atanunq/viu>`_
  49. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  50. View images in the terminal, similar to kitty's icat.
  51. .. _tool_nb:
  52. `nb <https://github.com/xwmx/nb>`_
  53. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  54. Command line and local web note-taking, bookmarking, archiving, and knowledge
  55. base application that uses kitty's graphics protocol for images.
  56. .. _tool_w3m:
  57. `w3m <https://github.com/tats/w3m>`_
  58. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  59. A text mode WWW browser that supports kitty's graphics protocol to display
  60. images.
  61. `awrit <https://github.com/chase/awrit>`__
  62. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  63. A full Chromium based web browser running in the terminal using kitty's
  64. graphics protocol.
  65. .. _tool_mpv:
  66. `mpv <https://github.com/mpv-player/mpv/commit/874e28f4a41a916bb567a882063dd2589e9234e1>`_
  67. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  68. A video player that can play videos in the terminal.
  69. .. _tool_timg:
  70. `timg <https://github.com/hzeller/timg>`_
  71. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  72. A terminal image and video viewer, that displays static and animated images or
  73. plays videos. Fast multi-threaded loading, JPEG exif rotation, grid view and
  74. connecting to the webcam make it a versatile terminal utility.
  75. System and data visualisation tools
  76. ---------------------------------------
  77. .. _tool_neofetch:
  78. `neofetch <https://github.com/dylanaraps/neofetch>`_
  79. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  80. A command line system information tool that shows images using kitty's graphics
  81. protocol
  82. .. _tool_matplotlib:
  83. `matplotlib <https://github.com/jktr/matplotlib-backend-kitty>`_
  84. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  85. Show matplotlib plots directly in kitty
  86. .. _tool_KittyTerminalImage:
  87. `KittyTerminalImages.jl <https://github.com/simonschoelly/KittyTerminalImages.jl>`_
  88. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  89. Show images from Julia directly in kitty
  90. .. _tool_euporie:
  91. `euporie <https://github.com/joouha/euporie>`_
  92. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  93. A text-based user interface for running and editing Jupyter notebooks, powered
  94. by kitty's graphics protocol for displaying plots
  95. .. _tool_gnuplot:
  96. `gnuplot <http://www.gnuplot.info/>`_
  97. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  98. A graphing and data visualization tool that can be made to display its output in
  99. kitty with the following bash snippet:
  100. .. code-block:: sh
  101. function iplot {
  102. cat <<EOF | gnuplot
  103. set terminal pngcairo enhanced font 'Fira Sans,10'
  104. set autoscale
  105. set samples 1000
  106. set output '|kitten icat --stdin yes'
  107. set object 1 rectangle from screen 0,0 to screen 1,1 fillcolor rgb"#fdf6e3" behind
  108. plot $@
  109. set output '/dev/null'
  110. EOF
  111. }
  112. Add this to bashrc and then to plot a function, simply do:
  113. .. code-block:: sh
  114. iplot 'sin(x*3)*exp(x*.2)'
  115. .. tool_onefetch:
  116. `onefetch <https://github.com/o2sh/onefetch>`_
  117. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  118. A tool to fetch information about your git repositories
  119. .. tool_patat:
  120. `patat <https://github.com/jaspervdj/patat>`_
  121. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  122. Terminal based presentations using pandoc and kitty's image protocol for
  123. images
  124. .. tool_wttr:
  125. `wttr.in <https://github.com/chubin/wttr.in>`_
  126. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  127. A tool to display weather information in your terminal with curl
  128. .. tool_wl_clipboard:
  129. `wl-clipboard-manager <https://github.com/maximbaz/wl-clipboard-manager>`_
  130. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  131. View and manage the system clipboard under Wayland in your kitty terminal
  132. Editor integration
  133. -----------------------
  134. |kitty| can be integrated into many different terminal based text editors to add
  135. features such a split windows, previews, REPLs etc.
  136. .. tool_kakoune:
  137. `kakoune <https://kakoune.org/>`_
  138. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  139. Integrates with kitty to use native kitty windows for its windows/panels and
  140. REPLs.
  141. .. tool_vim_slime:
  142. `vim-slime <https://github.com/jpalardy/vim-slime#kitty>`_
  143. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  144. Uses kitty remote control for a Lisp REPL.
  145. .. tool_vim_kitty_navigator:
  146. `vim-kitty-navigator <https://github.com/knubie/vim-kitty-navigator>`_
  147. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  148. Allows you to navigate seamlessly between vim and kitty splits using a
  149. consistent set of hotkeys.
  150. .. tool_vim_test:
  151. `vim-test <https://github.com/vim-test/vim-test>`_
  152. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  153. Allows easily running tests in a terminal window
  154. .. tool_hologram:
  155. `hologram.nvim <https://github.com/edluffy/hologram.nvim>`_
  156. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  157. Terminal image viewer for Neovim. For a bit of fun, you can even have `cats
  158. running around inside nvim <https://github.com/giusgad/pets.nvim>`__.
  159. Scrollback manipulation
  160. -------------------------
  161. .. tool_kitty_scrollback_nvim:
  162. `kitty-scrollback.nvim <https://github.com/mikesmithgh/kitty-scrollback.nvim>`_
  163. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  164. Browse the scrollback buffer with Neovim, with simple key actions for efficient
  165. copy/paste and even execution of commands.
  166. .. tool_kitty_search:
  167. `kitty-search <https://github.com/trygveaa/kitty-kitten-search>`_
  168. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  169. Live incremental search of the scrollback buffer.
  170. .. tool_kitty_grab:
  171. `kitty-grab <https://github.com/yurikhan/kitty_grab>`_
  172. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  173. Keyboard based text selection for the kitty scrollback buffer.
  174. Miscellaneous
  175. ------------------
  176. .. tool_kitty_smart_tab:
  177. `kitty-smart-tab <https://github.com/yurikhan/kitty-smart-tab>`_
  178. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  179. Use keys to either control tabs or pass them onto running applications if no
  180. tabs are present
  181. .. tool_kitty_smart_scroll:
  182. `kitty-smart-scroll <https://github.com/yurikhan/kitty-smart-scroll>`_
  183. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  184. Use keys to either scroll or pass them onto running applications if no
  185. scrollback buffer is present
  186. .. tool_kitti3:
  187. `kitti3 <https://github.com/LandingEllipse/kitti3>`_
  188. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  189. Allow using kitty as a drop-down terminal under the i3 window manager
  190. .. tool_weechat_hints:
  191. `weechat-hints <https://github.com/GermainZ/kitty-weechat-hints>`_
  192. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  193. URL hints kitten for WeeChat that works without having to use WeeChat's
  194. raw-mode.
  195. .. tool_glkitty:
  196. `glkitty <https://github.com/michaeljclark/glkitty>`_
  197. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  198. C library to draw OpenGL shaders in the terminal with a glgears demo