Questions tagged [kitty]

32 questions
19
votes
7 answers

How do I copy and paste with Kitty?

Kitty is a terminal for Linux. How do I copy and paste with it. CTRL+c does not work? And there is no option on right click. Right-click also doesn't work for copy.
Evan Carroll
  • 28,578
  • 45
  • 164
  • 290
11
votes
3 answers

Tmux under Kitty terminal

I recently discovered the neat kitty as some aspects of the themes I'm using under ZSH don't render quite right under Xfce Terminal but do under kitty. Unfortunately I've hit a snag when it comes to using tmux on SSH connections, if SSH from my…
slackline
  • 531
  • 3
  • 8
  • 18
8
votes
3 answers

Screen and kitty what should $TERM be?

Why does tmux report $TERM=screen-256color Normally kitty reports $TERM=xterm-kitty Which should I use if I run tmux inside kitty? Obviously kitty provides advanced functionality and that makes sense that it reports xterm-kitty. Why does screen…
Evan Carroll
  • 28,578
  • 45
  • 164
  • 290
7
votes
3 answers

Make kitty terminal emulator to use the current working directory for new windows

Say I have a window in kitty and press ctrl+shift+enter to open a new window. The new window always uses ~/ as current working directory. I'd like the new window to use the same working directory that the last window used. Is this possible?
aaguilera
  • 173
  • 1
  • 6
6
votes
1 answer

Mapping otherwise conflicting or unmappable keys in terminal Vim

Resources in the network (1, 2, 3) claim that some key combinations, among which Ctrl-Shift-letter, Ctrl-number, Ctrl-i/Tab, Ctrl-m/Enter, Esc/Ctrl-[, cannot be mapped reliably in Vim because the terminal does not distinguish them from their…
Quasímodo
  • 18,625
  • 3
  • 35
  • 72
6
votes
1 answer

Terminal(kitty) colors altering vim color scheme

I'm using the base16 color schemes for both my terminal(kitty) and vim. However changing the color scheme of kitty results in the color scheme of vim changing into something similar. The relevant(I'm guessing) part of my .vimrc looks like this: set…
Morten
  • 100
  • 1
  • 8
4
votes
3 answers

Kitty Terminal Tab Title without path?

I have been playing around with the settings in the kitty docs. I am using tab_title_template to change the title of a tab. The {title} variable includes the file name and the path. Is there any way to take out the path and only have the file…
Vinn
  • 165
  • 1
  • 6
2
votes
0 answers

Terminal with advanced copy paste capabilites

Kitty terminal has a feature where one can run a python script that captures text via regex and allows copying directly to clipboard (see https://sw.kovidgoyal.net/kitty/kittens/hints/) The matches are selected via some assigned letter, it's a very…
2
votes
2 answers

Kitty terminal: I don't have any colors on PS1 bash prompt

Unlike other terminal emulators with kitty terminals I have no colors on bash prompt. I am using ubuntu, my PS1 is \[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\u@\h:\w\$ What have I to setup for this? Thanks
res1
  • 258
  • 1
  • 2
  • 9
1
vote
1 answer

How to launch Kitty "inside" a wsl kali win-kex instance?

a newbie here. I just installed kitty on wsl kali-linux, I am using win-kex to use a GUI. When I launch kitty opens on another window "outside" the winkex instance: like a Windows app. So, how can I make kitty work "inside" the winkex session? The…
1
vote
1 answer

Strange escape sequences in terminal

I have kitty, and I use nnn as file manager. I actiavted the "preview-tui" plugin in nnn. When I hover over a folder, I see something like this: What are those strange escape sequences?
robertspierre
  • 271
  • 2
  • 10
1
vote
0 answers

Tmux external clipboard interaction with loadb over SSH

I have the external clipboard option enabled: $ tmux show-options -g -s set-clipboard set-clipboard external And I'm using Kitty terminal with tmux in SSH. When I highlight text with the mouse or use [, the contents get copied to my system…
jeanluc
  • 153
  • 4
1
vote
1 answer

How can I run my text editor via edit-in-kitty while preserving the environment set in rc files?

Problem I am trying to get the edit-in-kitty command to work on my local workstation (not over SSH, yet), but it seems like the environment variables — which are usually exported while sourcing my shell's rc file — aren't carried over to the child…
1
vote
0 answers

Kitty terminal automatically deselects text?

Every time I highlight text to copy from the Kitty terminal, it automatically deselects it. This is creating a situation where I cannot copy from the terminal. What might be causing this behaviour?
Vinn
  • 165
  • 1
  • 6
1
vote
1 answer

Kitty Terminal Launch directory location?

I switched from iTerm to Kitty. In iterm I could set the starting location for new terminal windows to the desktop. Which config option is this in kitty?
Vinn
  • 165
  • 1
  • 6
1
2 3