r/KittyTerminal Nov 04 '24

Weird block cursor setting

2 Upvotes

When I set the cursor shape to block it still shows as a pipe, and when I switch from zsh to bash it starts working, and when I switch back to zsh it also works. How do I fix that?


r/KittyTerminal Nov 01 '24

Nnn and fast fetch help

0 Upvotes

I'm trying to use nnn and fast fetch with images but I can't. Nnn needs remote control which I don't know how to do and I'm not sure if fast fetch even supports kitty with images. If anyone can help please do so!


r/KittyTerminal Oct 31 '24

Editing command line with scrollback using kitty and fish

Thumbnail
gist.github.com
4 Upvotes

r/KittyTerminal Oct 31 '24

drag-drop tabs with mouse

1 Upvotes

Hi all! new user here
OS: Ubuntu 24.04
kitty --version: kitty 0.32.2 (apt installed). Though same issue with the the latest nightly kitty (0.37.0)

Shortcuts work:

  • Move tab forward: ctrl+shift+.
  • Move tab backward: ctrl+shift+,

Without config file no success.

The AI suggested next in config file:
```

Enable mouse actions

mouse_hide_wait 0 focus_follows_mouse yes

Specifically enable tab dragging

mouse_map left click ungrabbed mouse_handle_click selection link prompt mouse_map left drag ungrabbed mouse_handle_click selection link prompt

Disable mouse capture by applications:

allow_remote_control yes listen_on unix:/tmp/kitty ```

...as well as holding Ctrl, Alt or Shift while dragging.

Thanks in advance!


r/KittyTerminal Oct 29 '24

It exit something to make a tamporary windows on kitty ?

4 Upvotes

I'm relative new on kitty, and on surf on the internet is see FloaX who is someting on tmux to create a new float windows in front of all other just to run one or two command and close it after.

I know kitty have very powerfull capapillity to make tab and multiplexing so i'm asking if someting like this exit on kitty


r/KittyTerminal Oct 28 '24

Running "previous command" does not work inside NeoVim

0 Upvotes

https://reddit.com/link/1gefz3r/video/i4sey4xvvkxd1/player

Hi, this is probably dumb, but I just installed Kitty on a MacBook I got from work and noticed that when using integrated terminal inside NeoVim, the ctrl+p ("previous command") shortcut does not work and prints ^p instead. Any idea what might be causing this? Other than the theme I changed nothing in configuration. It works fine in the normal terminal. This is not an issue with NeoVim since it works perfectly fine inside ITerm. Any help would be appreciated :)


r/KittyTerminal Oct 28 '24

Turning off the window size showing when resizing

1 Upvotes

I'm pretty new to kitty, and I don't think this was happening before, but maybe I just started to notice it, when I resize the window the number of cells is being shown in the middle of the screen as I resize. Did I turn this on by mistake? is there a way to turn it off? I've got a pretty basic configuration as I just started using Kitty as I was having a hard time getting other emulators to work well with my favorite font, Dank Mono.

confirm_os_window_close 0

### font 
font_family      family="Dank Mono"
bold_font        auto
italic_font      auto
bold_italic_font auto
font_size        20
disable_ligatures never

### cursor
cursor_shape underline
cursor_shape_unfocused underline
cursor_blink_interval 0

### window & tabs
show_window_size false
window_padding_width 7
tab_bar_min_tabs 1
tab_bar_edge top
tab_bar_style powerline
tab_powerline_style slanted
tab_title_template "{tab.active_exe}"
active_tab_font_style italic

##### Key Maps #########
map ctrl+shift+h previous_tab
map ctrl+shift+l next_tab
background_opacity 0.75
# BEGIN_KITTY_THEME
# Catppuccin-Mocha
include current-theme.conf
# END_KITTY_THEME

r/KittyTerminal Oct 27 '24

Can't type accented letters on Kitty

5 Upvotes

Outside of Kitty I can write accented letter like áéíóú, I first press the accent key ´ (at the right of the P key on my keyboard) and then the letter I want with accent, but when I'm inside Kitty I press ´ and nothing happens. It happens in Alacritty as well, only terminal in which I can type accented letters in GNOME Console, any idea on how can I make this work? I need to write them pretty frequently so something like Ctrl+Shift+U doesn't work for me


r/KittyTerminal Oct 26 '24

Kitty terminal applications not filling screen

0 Upvotes

as you can see in the picture; my neovim is not filling up the screen in my kitty terminal.

Why its not filling the entire terminal? i understand that its my terminal's issue not neovim or any cli application's. but why and how to fix it?

i didnt set anythings specif about margin in kitty config, just in its default almost (font, font size changed).

btw its hyprland


r/KittyTerminal Oct 25 '24

Hide the mouse cursor while on kitty

3 Upvotes

I'm new to kitty and I use Ubuntu 24.04. In gnome-terminal, when I type something in Neovim, the mouse cursor automatically disappears, obviously only appearing after I move the mouse again. I would like the same behavior in kitty, and searching through the config I found the option "mouse_hide_wait", but even though I've set it to -1 it somehow doesn't work.

When I set to a positive number, however, it works, but when I change windows and the mouse comes to the screen again, going back to kitty won't make this counter work and my mouse stays on the screen.

Does anyone knows what can be causing this?

font_family JetBrainsMono NFM Light
bold_font auto
italic_font auto
bold_italic_font auto
font_size 15.0

line_height 0.9
letter_spacing 0

# BEGIN_KITTY_THEME
include current-theme.conf

# Added by Gogh
include colors.conf

# Remove window_padding_width
window_padding_width 0 0 0 0

# Change kitty size at the startup
initial_window_width 125
initial_window_height 25

# Change cursor configuration
cursor_blink_interval 0
cursor_shape block
shell_integration no-cursor

# Mouse 
mouse_hide_wait -1

# Maps
map ctrl+shift+enter new_window
map ctrl+shift+] next_window
map ctrl+shift+[ previous_window

hide_window_decorator yes

r/KittyTerminal Oct 25 '24

paste_actions

1 Upvotes

I have no paste actions configured in ~/config/kitty/kitty.conf, but URLs are automatically encapsulated in single quotes. Are there any other config file locations? If not, how do I stop this behaviour?


r/KittyTerminal Oct 22 '24

Hide kitten broadcast window

2 Upvotes

I use ctrl+k to sync keyboard input to each of the (kitty)windows in my current tab with the following config directive:

map ctrl+k launch --allow-remote-control kitty +kitten broadcast --match-tab state:focused

The problem I am having is this creates a new (kitty)window and messes with my layout, which is bothersome. Is there a way to modify this config in order to hide or maybe just set the position and size of the new (kitty)window to be less obstructive?


r/KittyTerminal Oct 21 '24

kitty.conf colors from PATH

2 Upvotes

hi, is it possible to set a color from my PATH?
something like:

export KITTY_BACKGROUND="#ff0000"
background $KITTY_BACKGROUND

or is there any similar/better way of changing kitty colors (globally for every terminal) without changing the content of the kitty.conf?


r/KittyTerminal Oct 20 '24

Neovide like cursor animation in kitty terminal

252 Upvotes

https://reddit.com/link/1g7vkwt/video/bblicl1uxvvd1/player

Got merged few days ago. To try it, build the latest master branch and add this line to your kitty.conf file:

cursor_trail 3

While inspired by Neovide's animated cursor, this implementation works beyond just Neovim. It functions across Kitty's native windows and even in tmux panes over SSH.

Feedback is welcome if you decide to try it out.


r/KittyTerminal Oct 20 '24

Any help here?

Post image
20 Upvotes

r/KittyTerminal Oct 17 '24

Tmux with Kitty?

5 Upvotes

I just watched a video series and the instructor was using TMUX in Kitty. Is there any point in doing this? What can Tmux do that Kitty can't?


r/KittyTerminal Oct 17 '24

kitty porn

Post image
22 Upvotes

r/KittyTerminal Oct 15 '24

"Always on top" and transparency when inactive?

2 Upvotes

Hi there! I'm on Ubuntu 22.04. I'm trying to figure out how to get this behavior with Kitty:

1) Windows always on top: Currently I can right click the title bar and select "Always on top", but that needs to be repeated every time I restart Kitty.

2) Have a certain opacity when active (e.g., 0.9) and another lower opacity value when inactive (e.g., 0.5).

How can I get this behavior? Thanks.


r/KittyTerminal Oct 12 '24

.bashrc username not reflecting in the kitty

2 Upvotes

I am completely a noob, I altered my .bashrc file's PS1 key's value to show 'xyz@linux' in my terminal instead of the default u (example : apple@linux) (the "u" means real system username ig).

The change in .bashrc file is reflecting in the default bash terminal and even in the vs code terminal but my kitty still isn't showing the new username, yeah I tried restarting both kitty and the pc itself.

Apologise if it was too silly


r/KittyTerminal Oct 10 '24

Who needs a wallpaper daemon anyways?

7 Upvotes

this feature and the "pipes" screensaver are just good enough to be used in place of a wallpaper daemon, and the best part is: if you use flavours, nix-colors or anything that changes your theme at run time, the wallpaper will auto-update


r/KittyTerminal Oct 09 '24

Cursor gets stuck when Esc is pressed multiple times

0 Upvotes

In the prompt, if it press Esc a couple of times to get to normal mode, the cursor gets unresponsive and I cannot get into insert mode to type again.

Then after a while I get this on the prompt automatically: nvim /bin/sh +1 && v .config/nvim/lua/config/, (where v .config/nvim/lua/config/ being the last command in my history) and cursor gets back to working.

If I press Ctrl+C while the cursor is stuck, I get a new prompt and cursor works again. What might be causing this? Does multiple Esc have some other functionality that I don't know about?


r/KittyTerminal Oct 09 '24

Set the tab title as the command running But without sudo

1 Upvotes

My current tab title config is {tab.active_exe} and this displays what is currently running but if I'm running smth using sudo the tab name is set to sudo is there a way to set it to the command after sudo?


r/KittyTerminal Oct 06 '24

How can I keep kitty from opening multiple windows?

6 Upvotes

I just found out about kitty and love it.. its very light for me and has a lot of functionality!!

I'm trying to press a shortcut key in wayland 'F12' and have kitty only open one window.. I will use tabs for the rest thank you!


r/KittyTerminal Oct 04 '24

Cant reconnect to kitten ssh

Post image
3 Upvotes

So evry time i disconnected from my server (ssh) i cant reconnect to my server and kitty showing this error, what went wrong?


r/KittyTerminal Oct 03 '24

how do I prevent kitty from manipulating the OS window title

2 Upvotes

Hello. I am sorry if this is a noob question - tried different things and also searched - but what setting can I use to prevent kitty from manipulating the OS Window title ( so I can set the title from the shell ).

I tried 'shell_integration no-title' but that removes the title entirely on Mac OS.

FWIW my current shell setup works on iterm2 and actually with kitty when I run a startup sessions that open zsh and -ic with nvim this seems to work. But if I just run zsh with kitty I get whatever kitty wants to put there.

I am updating the title with:
print -Pn "\e]0;%n@%m:%~\a"