kitty.conf 1.1 KB

123456789101112131415161718192021222324
  1. font_size 20.0
  2. # > [...] used only for browsing the scrollback buffer (in MB). [...]
  3. # > The current implementation stores one character in 4 bytes,
  4. # > so approximatively 2500 lines per megabyte at 100 chars per line.
  5. # https://sw.kovidgoyal.net/kitty/conf.html#opt-kitty.scrollback_pager_history_size
  6. # https://sw.kovidgoyal.net/kitty/conf.html#shortcut-kitty.Browse-scrollback-buffer-in-less
  7. scrollback_pager_history_size 16
  8. # https://sw.kovidgoyal.net/kitty/conf.html#opt-kitty.enable_audio_bell
  9. enable_audio_bell no
  10. # https://sw.kovidgoyal.net/kitty/conf.html#opt-kitty.visual_bell_duration
  11. visual_bell_duration 0.42
  12. # red border in i3 (termite's `urgent_on_bell`)
  13. window_alert_on_bell yes
  14. # https://sw.kovidgoyal.net/kitty/conf.html#keyboard-shortcuts
  15. map kitty_mod+XF86Calculator new_os_window_with_cwd ipython3
  16. # https://sw.kovidgoyal.net/kitty/launch.html
  17. map kitty_mod+backslash launch --type=overlay --cwd=current --stdin-source=@screen_scrollback $EDITOR -
  18. # https://sw.kovidgoyal.net/kitty/marks.html
  19. map kitty_mod+m create_marker
  20. map kitty_mod+comma scroll_to_mark prev
  21. map kitty_mod+period scroll_to_mark next