Replies: 8 comments 6 replies
-
|
Go to
https://sw.kovidgoyal.net/kitty/conf/#mouse-actions
find the one where extend selection is defined. copy/paste it and change
the action to what you want.
And note that this kitty is no relation to putty.
|
Beta Was this translation helpful? Give feedback.
-
|
I found a decent solution, @ket000 This quite usable, only the newline character does not get copied. Also, there is that delay because of some other detection ... this slows everything down. The best I could do, is with "click_interval 0.2" ... But I fear that this is not fully possible with Kitty. |
Beta Was this translation helpful? Give feedback.
-
|
Sadly, this still does not work. Hyperlinks continue to be interpreted and open a webbrowser, so you cannot even copy-paste them! No idea, how to fix this :-( |
Beta Was this translation helpful? Give feedback.
-
|
I did the following on $HOME/.config/kitty/kitty.conf and it works as I wanted. copy_on_select yes #mouse_map right press ungrabbed mouse_selection extend |
Beta Was this translation helpful? Give feedback.
-
|
MY solution works with multi line also and no need to change URL handling etc. So this makes it behave like putty on windows. I will stick with this solution as I do not use extend. Feel free to use whatever works for you. |
Beta Was this translation helpful? Give feedback.
-
|
Also, I just now noticed this comment: I was not aware of that. Is that really true? What a strange idea is that? I'm in panic/ |
Beta Was this translation helpful? Give feedback.
-
|
Note this does not work on rhel 8 or oracle linux 8 due to waylnd issue. Works fine on ubuntu 20.10 focal fossa. |
Beta Was this translation helpful? Give feedback.
-
works for me (Wayland Ubuntu 25.10), and I use the middle click to paste from selection without changing the default parameter for it. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I enabled copy_on_select yes
I want to use right click to paste it instead of middle click.
I tried this
#mouse_map middle release ungrabbed paste_from_selection
mouse_map right release ungrabbed,grabbed paste_from_selection
#mouse_map right press ungrabbed mouse_selection extend
mouse_map right press ungrabbed mouse_selection extend no_op
It sill extends the selection instead of pasting it.
Please let me know How can I use right click to paste instead of left click.
My version is
kitty 0.22.2 created by Kovid Goyal
ketan@ketanzorinos:~$
It will be nice if we can emulate default putty behavior for kitty.
Beta Was this translation helpful? Give feedback.
All reactions