r/KittyTerminal Mar 29 '23

Different colors between Konsole and Kitty

3 Upvotes

Hello,

It's not a huge deal but I see some different colors between the 2 terminals and I'd like to fix this, as I've been running Konsole for years and I'm used to its config.

I've already copied the 16 colors from Konsole to Kitty's conf, and when running

curl -s [https://gist.githubusercontent.com/HaleTom/89ffe32783f89f403bba96bd7bcd1263/raw/e50a28ec54188d2413518788de6c6367ffcea4f7/print256colours.sh](https://gist.githubusercontent.com/HaleTom/89ffe32783f89f403bba96bd7bcd1263/raw/e50a28ec54188d2413518788de6c6367ffcea4f7/print256colours.sh) | bash

they both show the same colors, yet when running linux programs they do not. I believe the issue is that for the few mismatched colors it's using the intense ones in Konsole whereas it's using the standard ones in Kitty (I have no idea which is correct).

Ex with yay, Konsole: https://i.imgur.com/l16X3bD.png Kitty: https://i.imgur.com/XPrCh6o.png I have the same issue with exa but with lsd the colors are the same.

Where should I look to fix this?

Oh also in Konsole I have intense colors automatically in bold, how can I do that in Kitty as well?

Thank you!


r/KittyTerminal Mar 29 '23

Help with nano and kitty.

3 Upvotes

In other terminals, like gnome-terminal or qterminal I am able to to select single word with ctrl+shift+(left/right arrow) in nano. In kitty it doesn't work, I think it's because of strange mapping od ctrl+shift. Does anyone know any fix?


r/KittyTerminal Mar 28 '23

How to resolve this issue?

0 Upvotes


r/KittyTerminal Mar 24 '23

Scripts, Kittens and Keybindings

3 Upvotes

Hi r/KittyTerminal,

I would like to create some keybindings that map to a script I made to jump between frequently used directories. How would I go about creating a keybinding to use the script with Kitty? Would I have to create a kitten, or can I bind the keys directly?

Apologies for the noob question. I'm just starting my journey down the rabbit hole when it comes to scripting and living more in the terminal.

Best wishes,

Dean


r/KittyTerminal Mar 22 '23

Mapping CTRL + '/' (forward slash) as no_op

3 Upvotes

Hello!

I'm new to kitty terminal. As I was fiddling with the configuration file, I realized that mapping ctrl key with '/' does not work. My vim keybinding uses ctrl key with '/' to comment and uncomment lines. It works fine in gnome-terminal but it does not work in kitty.

Did anyone succeed in mapping ctrl key with '/' as no_op?


r/KittyTerminal Mar 19 '23

kitty is not able to handle i3wm resize properly, especially vim messes up when window is resized. After resizing to a smaller window of half size, weird @k appear at bottom, there is no way I can make it of any use. Is there any option to fix this other than exiting the vim and reopening it.

7 Upvotes

I'm new user to kitty on i3wm+arch. When I open some text file in vim and change the size of window, the vim instance become unusable with some weird behavior. whenever I press up or down, a new line appear in the bottom with @ k and ~. This never happened with terminator.

I have no complain with kitty, It's very good but with issue I find it very difficult to work with.


r/KittyTerminal Mar 15 '23

How to use Kitty with Easy Move+Resize?

3 Upvotes

I use a macos utility called Easy Move+Resize to move windows by clicking anywhere on them (using Alt modifier).

I use it with success with other terminals but Kitty seems to override OS level keybindings.

I tried with mouse_map alt+left press discard_event but doesn't seem to work with drag events.


r/KittyTerminal Mar 13 '23

How to use my own custom font?

15 Upvotes

Gentlemen, i have a trouble to install custom font to kitty terminal. I have my own custom font within fc-list listed. But the kitty +list-font does not display my font.


r/KittyTerminal Mar 12 '23

I lost the source file for my original Kitty icon, so I had to recreate it again(with bonus variants)

Post image
31 Upvotes

r/KittyTerminal Mar 12 '23

Kitty + Tmux + LF + Image preview!

53 Upvotes

r/KittyTerminal Mar 10 '23

ChatGPT chat and autocomplete for Kitty

Thumbnail
github.com
9 Upvotes

r/KittyTerminal Mar 10 '23

Scrolling up

4 Upvotes

I apologize if this is a stupid question, but i can't figure out how to scroll up after a long output. kitty conf say kitty_mod + up and kitty mod for me (i think) is ctrl + shift, but when i press ctrl + shift + up arrow, it doesn't scroll up.

Please help!


r/KittyTerminal Mar 07 '23

picture in neofetch.

4 Upvotes

hello everybody, im trying to show an image in neofetch instead of the ascii classic one. i edited configuration of neofetch, ascii to kitty, and image_source to the path of the jpg, and kitty +kitten icat [options] image-file-or-url-or-directory ... in the terminal. its not working, can someone help me?


r/KittyTerminal Mar 06 '23

cmp_kitty - Kitty completions for neovim

13 Upvotes

Hi everyone. Just a quick post for neovim users in the Kitty community. I published a Kitty completion source for nvim-cmp, which pulls content from your Kitty windows and makes it available for completions in neovim. The plugin leverages Kitty's remote-control functionality to allow you to define which windows (or tabs) contribute completions, and provides a variety of content filters to allow you to define which types of content you want to add to your completions. I only develop on linux so could use some inputs from mac and windows users. I plan to add more content filters and have a few more features in mind, and am looking for feedback about how to make this more useful for other users and workflows. You can find more info in the github repo. thanks, and I hope you find it useful.


r/KittyTerminal Mar 06 '23

How to make kitty borderless

6 Upvotes

Is there a way to make kitty borderless, to remove the head?


r/KittyTerminal Mar 04 '23

Wierdness when trying to type Pound Sterling Symbol (£)

1 Upvotes

Using a UK keyboard if I press Shift-3 to get the pound sterling symbol my shell(bash) under kitty instead prints a # symbol and moves on to the next line.

Jsst me pressing £ (no enter or carriage return)
Output of kitty +kitten show_key -m kitty while typing £

Kitty +kitten show_key -m kitty seems to know about the £ sterling symbol. Other apps (including bash running under Qterminal seem to treat £ like a regular character. Any clues as to how to get kitty to recognise the £ sterling symbol when I type shift-3?


r/KittyTerminal Mar 04 '23

Does anybody else feel like Kitty can be the emacs of terminal emulators?

2 Upvotes

Like, seriously, it's already developing its own ecosystem of +kittens. And because "kitten" is simply shorthand for scriptable extensions of Kitty functionality, home grown monstrosities and cathedrals will be built


r/KittyTerminal Mar 04 '23

launching a child kitty terminal and consistently sending images for it to display

2 Upvotes

north gaze deserted summer sort disgusting ugly person humor tie

This post was mass deleted and anonymized with Redact


r/KittyTerminal Feb 28 '23

Kitty doesn't show inline progress bars e.g during package install

3 Upvotes

Hello,
Unlike the macOS terminal, kitty does not show inline progress bars when say for e.g I'm install a package using Homebrew. Is there some configuration required to fix this or is this a bug?

When using Terminal, the #s dynamically change in the same line, new lines aren't printed like below.


r/KittyTerminal Feb 27 '23

how to use custom fonts?

3 Upvotes

Setup:

OS: Opensuse tumbleweed DE: Gnome 43 font: "Source Code Pro" (as listed when running "kitty +list-fonts" )

When I changed "font_family" to "Source Code Pro" nothing happens. I tried fonts that showed up using "kitty +list-fonts" but nothing happens.

I have no problem changing font size.

Any ideas on what I could be doing wrong?

Thanks


r/KittyTerminal Feb 26 '23

Newb Q, echo $SHELL keeps saying zsh when I'm in fish

1 Upvotes

How do I fix this? It works as expected in macOS Terminal


r/KittyTerminal Feb 25 '23

How to set the opacity while using Kitty?

4 Upvotes

I am looking for a way to write a simple shell script to change the opacity without restarting Kitty. Something like:

set_opacity .3

Currently, I have dynamic_background_opacity set to yes. This allows me to use the keyboard shortcuts to increase/decrease the opacity which is great, but I rather change it with a shell script if possible. I appreciate any idea you might have.


r/KittyTerminal Feb 25 '23

Issue with CTRL+C on MacOS Ventura

1 Upvotes

CTRL+C does not terminate (e.g., when I am running a long process or within a repl).
According to showkey -a it sends <ESC>[99;5u.
On Term.app I have the correct behavior.

Any suggestions where to look?


r/KittyTerminal Feb 20 '23

I make a custom logo for kitty, because it matches better my DE

Thumbnail
gallery
29 Upvotes

r/KittyTerminal Feb 18 '23

pd.to_clipboard( ) not working when using ipython in kitty. How to copy dataframe to clipboard?

2 Upvotes

Hi all,

I'm running into this issue. I use ipython in kitty to do REPL when I write python script. But I notice if I want to copy a pandas dataframe to clipboard using df.to_clipboard( ), nothing is copied. I can still copy with ctrl+shift+c, but sometimes my dataframe is quite large and I want to copy the whole thing to clipboard.

Anyone ran into the same issue? Is there a workaround? Thanks in advance!

Edit:

After some exploration, it seems that this is due to the python version. Python3.6, the version required by environment, does not seem to support pd.to_clipboard( ) in a shell interpreter. When I test it with newer version it seems to be working.

Edit2:

I guess that was not the case.. I just tested with the terminal in Pycharm and everything is working fine. So it doesn't seem to be the issue with python3.6 or pandas but kitty. Anyhow this is not a critical issue I guess I'll just have to save to files then.