kittyterminal

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

Zachariah, in Kitty 0.35.0 release - Changelog
@Zachariah@lemmy.world avatar

Not to be confused with KiTTY .

SmokeInFog, (edited ) in I finally messed around with modal mappings
@SmokeInFog@midwest.social avatar

Also created one for marks (kmks is “kitty marks” abbreviated). Still working out some kinks with the remote script but that’s unrelated to the mappings [EDIT fixed it]:


<span style="color:#323232;">map --new-mode kmks kitty_mod+m>kitty_mod+m
</span><span style="color:#323232;">
</span><span style="color:#323232;">map --mode kmks kitty_mod+m>kitty_mod+m pop_keyboard_mode
</span><span style="color:#323232;">map --mode kmks esc    pop_keyboard_mode
</span><span style="color:#323232;">map --mode kmks ctrl+c pop_keyboard_mode
</span><span style="color:#323232;">
</span><span style="color:#323232;"># Create / remove
</span><span style="color:#323232;">map --mode kmks space combine : create_marker : pop_keyboard_mode
</span><span style="color:#323232;">map --mode kmks r combine : remove_marker : pop_keyboard_mode
</span><span style="color:#323232;">
</span><span style="color:#323232;">
</span><span style="color:#323232;"># pre-defined
</span><span style="color:#323232;">
</span><span style="color:#323232;"># shift
</span><span style="color:#323232;">map --mode kmks shift+s combine : toggle_marker iregex 1 (success)|(2[0-9]{2}) : pop_keyboard_mode
</span><span style="color:#323232;">map --mode kmks shift+w combine : toggle_marker iregex 2 (warning|request|response|query) : pop_keyboard_mode
</span><span style="color:#323232;">map --mode kmks shift+e combine : toggle_marker iregex 3 (exception|error)|(5[0-9]{2}|4[0-9]{2}) : pop_keyboard_mode
</span><span style="color:#323232;"># all
</span><span style="color:#323232;">map --mode kmks shift+a combine : toggle_marker iregex 1 (success)|(2[0-9]{2}) 2 (warning|request|response|query) 3 (exception|error)|(5[0-9]{2}|4[0-9]{2}) : pop_keyboard_mode
</span><span style="color:#323232;">
</span><span style="color:#323232;">
</span><span style="color:#323232;"># Highlight/color tabs
</span><span style="color:#323232;">
</span><span style="color:#323232;"># highlight
</span><span style="color:#323232;">map --mode kmks shift+alt+h>l combine : remote_control set-tab-color active_fg=NONE active_bg=NONE inactive_fg=white inactive_bg=darkorange : pop_keyboard_mode
</span><span style="color:#323232;"># side tab
</span><span style="color:#323232;">map --mode kmks shift+alt+s>t combine : remote_control set-tab-color active_fg=NONE active_bg=NONE inactive_fg=white inactive_bg=#010C6B : pop_keyboard_mode
</span><span style="color:#323232;"># background tab
</span><span style="color:#323232;">map --mode kmks shift+alt+b>t combine : remote_control set-tab-color active_fg=NONE active_bg=NONE inactive_fg=#999999 inactive_bg=black : pop_keyboard_mode
</span><span style="color:#323232;"># customize tab
</span><span style="color:#323232;">map --mode kmks shift+alt+c>t combine : launch --type overlay --title "pick tab colors" --allow-remote-control $HOME/.config/kitty/scripts/highlight-tab : pop_keyboard_mode
</span><span style="color:#323232;"># reset tab
</span><span style="color:#323232;">map --mode kmks shift+alt+r   combine : remote_control set-tab-color active_fg=NONE active_bg=NONE inactive_fg=NONE inactive_bg=NONE : pop_keyboard_mode
</span>
iiGxC, (edited ) in Kitty 0.33.0 released - Changelog

This is really impressive! Since they didn’t have a comparison to foot, I ran it on my machine with sway. Here are my results:


<span style="color:#323232;">Kitty old run #1
</span><span style="color:#323232;">Results:
</span><span style="color:#323232;">  Only ASCII chars         : 6.01s      @ 33.3    MB/s
</span><span style="color:#323232;">  Unicode chars            : 5.12s      @ 34.6    MB/s
</span><span style="color:#323232;">  CSI codes with few chars : 4.94s      @ 20.3    MB/s
</span><span style="color:#323232;">  Long escape codes        : 18.08s     @ 43.4    MB/s
</span><span style="color:#323232;">  Images                   : 2m12.09s   @ 4.0     MB/s
</span><span style="color:#323232;">
</span><span style="color:#323232;">kitty new:
</span><span style="color:#323232;">Results:
</span><span style="color:#323232;">  Only ASCII chars         : 2.36s      @ 84.8    MB/s
</span><span style="color:#323232;">  Unicode chars            : 2.06s      @ 86.0    MB/s
</span><span style="color:#323232;">  CSI codes with few chars : 2.05s      @ 48.8    MB/s
</span><span style="color:#323232;">  Long escape codes        : 3.68s      @ 213.0   MB/s
</span><span style="color:#323232;">  Images                   : 2.28s      @ 234.4   MB/s
</span><span style="color:#323232;">
</span><span style="color:#323232;">foot:
</span><span style="color:#323232;">Results:
</span><span style="color:#323232;">  Only ASCII chars         : 1.72s      @ 116.3   MB/s
</span><span style="color:#323232;">  Unicode chars            : 2.51s      @ 70.6    MB/s
</span><span style="color:#323232;">  CSI codes with few chars : 1.31s      @ 76.2    MB/s
</span><span style="color:#323232;">  Long escape codes        : 5.48s      @ 143.0   MB/s
</span><span style="color:#323232;">  Images                   : 2.44s      @ 218.2   MB/s
</span><span style="color:#323232;">
</span><span style="color:#323232;">Kitty old run #2 (after all other runs, to see if poor performance was a fluke)
</span><span style="color:#323232;">Results:
</span><span style="color:#323232;">  Only ASCII chars         : 44.84s     @ 4.5     MB/s
</span><span style="color:#323232;">  Unicode chars            : 19.11s     @ 9.3     MB/s
</span><span style="color:#323232;">  CSI codes with few chars : 34.58s     @ 2.9     MB/s
</span><span style="color:#323232;">  Long escape codes        : 14.06s     @ 55.8    MB/s
</span><span style="color:#323232;">  Images                   : 2m12.08s   @ 4.0     MB/s
</span>

I expected foot to win, and it does win for Only ASCII chars and sci codes by a little bit, but not by much, and not by a meaningful amount, especially when you consider all the other features kitty has. Great work!

Also, this wasn’t a very rigorous test. I had a bunch of other stuff open, and I just ran them one after the other without much cooldown

iiGxC, in Kitty 0.33.0 released - Changelog

How do you run the benchmarks? kitten __benchmark__ says “benchmark is not a known subcommand for kitten”

Edit: I see now that the changelog says that the benchmark kitten was added in this release

  • All
  • Subscribed
  • Moderated
  • Favorites
  • kittyterminal@midwest.social
  • fightinggames
  • All magazines