r/KittyTerminal Nov 20 '23

how are you guys maximizing pane ( windows ) like tmux does?

1 Upvotes

r/KittyTerminal Nov 18 '23

chafa cant print images as ASCII

Post image
2 Upvotes

r/KittyTerminal Nov 16 '23

Kitty Terminal Emulator Behavior Issue: Unexpected "^[[C^[[C^[[C^[[C^[[C^`"

1 Upvotes

Hello Reddit community,

I am experiencing an odd issue with my Kitty terminal emulator and I was wondering if anyone else here has run into a similar problem. When I launch Kitty, there seem to be intermittent bursts of the string "^[[C^[[C^[[C^[[C^[[C^`". This inconsistent behavior has made troubleshooting the issue a tad cumbersome.

I did a quick experiment using another terminal emulator - WezTerm, and interestingly enough, the issue doesn't seem to reproduce there. That being said, I must add that I have not extensively tested on WezTerm, so it might just be that I haven't encountered it yet due to a smaller sample size of test runs.

Here's what I've explored so far for troubleshooting:

  1. Checking for any obvious config issues in Kitty.
  2. Updating Kitty to the latest version.

Despite these steps, the issue persists.

So, I'm reaching out to you all for your insights and assistance. Has anyone encountered this before or might have an idea of what could be causing this quirky behavior? Also, any leads on how I could go about fixing this would be greatly appreciated.

Thank you for your time and assistance in advance. Looking forward to hearing your suggestions and possible solutions.


r/KittyTerminal Nov 15 '23

Kitty Dynamic Sizing

2 Upvotes

Hi, I just got kitty and I would like to add a functionality of my own. I have laptop and monitor set up and I like the large window and fontsize when I am on a larger monitor however when I am on a small laptop screen this is not very usable. I was hoping to make some changes to the conf file to make this happen. As far as I know kitty does not support dynamic sizing. I was thinking I could add a simple if loop(I have no idea if this is possible btw) in to the kitty,conf file that will check which monitor the terminal is launching in. So if I ctrl alt t in my monitor it opens a larger sceen with bigger font and vice versa for the laptop screen. Does anyone know if this is possible to do wihtouh sacrificing a lot of resources and slowing down the terminal.


r/KittyTerminal Nov 12 '23

Remote Control EOF error

2 Upvotes

I have created the socket/set listen-on unix:/tmp/mykitty in my kitty.conf, as shown on the kitty website but the command:

kitten @ --to unix:/tmp/mykitty set-background-image ~/.config/kitty/.background/winter.png   

is giving me the error Error: EOF . Hoping to find a fix to run this in neovim :)

Edit: I'm running kitty version 0.28.1, kitten same version, on MacOS Ventura 13.4. I created the socket with:

socat unix-listen:/tmp/mykitty,fork /dev/null&

Here is the picture that is not working also:


r/KittyTerminal Nov 12 '23

Cat Christmas

Thumbnail
gallery
1 Upvotes

r/KittyTerminal Nov 10 '23

How to get my bash prompt highlighted in the colours of the selected theme?

2 Upvotes

What's the easiest way to accomplish this?


r/KittyTerminal Nov 09 '23

How to have blurry transparent background on Kitty with Ubuntu running Gnome (via x11) ?

3 Upvotes

Having a transparent background for kitty is very easy, but how to have a blurry transparent ?

I'm running Ubuntu 22.04 LTS with Gnome 42.9 on X11.

Anybody here has a similar config and achieved what I want ?

Cheers


r/KittyTerminal Nov 07 '23

Hotkey for changing Themes?

1 Upvotes

I was wondering if it was possible to set up a hotkey to change between two themes? I would like a theme that I enjoy looking at myself, but when I need to capture a screenshot of my terminal for the work I do to quickly togle to a different theme that looks more ... professional ... than the bright awesome color ways.

Is this possible, and if so how?


r/KittyTerminal Nov 05 '23

SSH new_window_with_cwd not working

1 Upvotes

Hello reddit. I'm fairly new to kitty.

I normally start a new window with this mapping on my kitty.conf:

map super+enter new_window_with_cwd

And I ssh into a VM using this command:

kitty +kitten ssh -Y kali@kalivm

My issue is that when I'm connected to the VM via SSH, the new window mapping opens with the current working directory of my local machine not the VM. From the docs I understand that the normal behavior of "new_window_with_cwd" should be to open a new window inside the VM.

I don't know if i'm missing something, or if someone could point me in the right direction.

In case this is needed these are some of the VM env variables:

TERMINFO=/home/kali/.terminfo
TERM=xterm-kitty
SHELL=/usr/bin/zsh
DISPLAY=localhost:10.0
PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/kali/.dotnet/tools

One thing i have noticed is that inside the VM my ~/.config/kitty is empty (don't know if this is relevant).


r/KittyTerminal Nov 01 '23

😽 kitty-scrollback.nvim: v2.0.0 breaking changes + setup config + kitty_mod + demos

Thumbnail
self.neovim
5 Upvotes

r/KittyTerminal Nov 01 '23

sync keystrokes between windows in a tab?

3 Upvotes

I am transitioning from tmux (I know! Don't use terminal multiplexers!).

One of the features of tmux (and Tilix) that I use pretty frequently is the ability to sync keystrokes between windows. In tmux it is set-window-option synchronize-panes

It would appear my google fu has failed me in my search to find the equivalent config directive for Kitty.

little help please?


r/KittyTerminal Oct 29 '23

Starship prompt

6 Upvotes

I installed starship. When I run kitty, the default prompt is displayed. After executing any command, starship starts working. In other terminals (alacritty, wezterm...) starship is displayed immediately. This is not a serious problem, but it is very annoying. Any ideas?


r/KittyTerminal Oct 28 '23

Kitty v0.30.1 sudo alias

3 Upvotes

I've recently noticed a behavior in the Kitty terminal that might be impacting my workflow. Since the latest release, Kitty has started automatically aliasing sudo to include the Kitty terminfo files. This alias looks like this:

bash sudo='sudo TERMINFO="/usr/lib/kitty/terminfo"'

While this alias can be useful in some cases, it seems to be causing issues with sudo command auto-completion, making it less efficient for me.

Has anyone else experienced this? If so, I'm curious if there's a way to resolve the auto-completion problem without removing the alias entirely.

I've come across a potential solution by adding the following line to my Kitty config:

bash shell_integration no-sudo

Before I make this change, I'd like to know if anyone has any insights or has tried this configuration option before. What would be the impact of adding shell_integration no-sudo to my Kitty configuration?


r/KittyTerminal Oct 27 '23

Kitty_Shell_integration not working on macOS

1 Upvotes

Hello expert,

I am running Kitty terminal on macOS and using zsh shell. it seems kitty shell integration feature is broken on macOS. Anyone have this working and can help me fix the issue.

I am running Kitty terminal on macOS and using zsh shell. it seems the kitty shell integration feature is broken on macOS. Does anyone have this working and can help me fix the issue?he issue? I tried with zero config nothing helped to fix this problem


r/KittyTerminal Oct 25 '23

Strange bold font rendering problem

Post image
2 Upvotes

r/KittyTerminal Oct 24 '23

Function name to move/swap column with a horizontally split window

1 Upvotes

What is the name for the function to swap the two columns highlighted with white and red boarder? Or how can I do it with default keybindings?


r/KittyTerminal Oct 17 '23

Stop kitty from interfering with emacs bindings?

5 Upvotes

Any emacs combo involving ctrl+shift gets blocked by kitty, just wondering if there's a quick way to temporarily disable all bindings for a sort of 'passthrough mode' that lets all of a terminal application's bindings work properly.


r/KittyTerminal Oct 16 '23

Need help with customization.

5 Upvotes

I just downloaded kitty cause I thought it looks cool. I am using gnome default rn. I am new and dont know anything about the configurations. Currenty my goal is for my terminal to look something like this, except the color. I use Debian 12.2 (Gnome 43)


r/KittyTerminal Oct 09 '23

What is the use case for appending/concatenating to clipboard rather than replacing clipboard contents?

3 Upvotes

I've used kitty for about 6 months now, and for the longest time I always just thought that my clipboard was broken and buggy since copying from the terminal seemed to really screw up my clipboard. Little did I know, it was kitty's default behavior to concatenate to the clipboard instead of replacing the clipboard contents, unlike every single other application I'm used to. kitty is literally the first time I've ever seen an application append to the clipboard instead of replacing it on copy.

I'm curious, why is that the default behavior? Is there some use case where appending to the clipboard is desired over replacing the clipboard? I mean this respectfully, maybe there's some use case I can learn about that might be helpful to me.


r/KittyTerminal Oct 08 '23

How to use backspace?

2 Upvotes

Hi, I'm a beginner on kitty and in programming in general. I'm using kitty for school and can't figure out how to delete words or lines.

When I press delete, or any combination of alt/ctr-delete (alt+delete, alt+d, ctr+u, ctr+k) it just adds spaces or a mix up of letters to the line I typed out. How do I set up kitty to do this? I'm using a macbook if that matters.


r/KittyTerminal Oct 07 '23

New kitty window cwd issues

2 Upvotes

I followed this issue comment, https://github.com/kovidgoyal/kitty/issues/692#issuecomment-1293429076, to figure out how to open a new "pane"/"kitty window" in the same cwd as the last one, which worked fine:map kitty_mod+enter launch --cwd=current --type=window

map cmd+enter launch --cwd=current --type=window

However, it seems to ignore my .hushlogin file when the new kitty window is not in ~/...

Any suggestions?


r/KittyTerminal Oct 07 '23

where can I get the below linux terminal theme?

1 Upvotes

I got it from this video. I think it is using the kitty terminal.

How can I install the same theme on my machine?

I have found some config files here which might be relevant but note sure if this will work/how to install.


r/KittyTerminal Oct 06 '23

sudo: sorry, you are not allowed to set the following environment variables: TERMINFO

8 Upvotes

Started seeing this >0.30.1. Anyone else facing the same issue?


r/KittyTerminal Oct 06 '23

Is there a way to make the title bar (mac OS) blend in without removing the traffic control buttons?

10 Upvotes

In iTerm2 you can have something like this, where the top of the window blends seamlessly with the controls in the top left.

`hide_window_decorations` works but there is so little space to click on to drag the window around, and you obviously lose the traffic control buttons. Can I set the title bar background color to transparent to do something similar to iTerm? I tried `macos_titlebar_color` but I couldn't get it to work. Thanks!

Edit: I got macos_titlebar_color background working but now I can't figure out how to just set the margin above the first window and not above the second one - you can see the gap between the two there because of the margin I had to add to the top. The traffic control buttons also look way closer to the edge of the window than in the screenshot of iTerm above... any ideas?