Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

key combo working, but doing a copy/paste at the same time? #1062

Open
gstlouisgit opened this issue Feb 12, 2025 · 1 comment
Open

key combo working, but doing a copy/paste at the same time? #1062

gstlouisgit opened this issue Feb 12, 2025 · 1 comment

Comments

@gstlouisgit
Copy link

I am using Fedora KDE, and coming from a mac using this key remapper tool was absolutely AMAZING

Anyway, I also use sublime to code, and I have key combos that can now make my life preasent when coding.

However, I have setup this combo below. This basically lets me hit (right)ALT+BACKSPACE which deletes all of the line.

Shift_R+KEY_HOME+KEY_DELETE

I just realized that it also performs a cut action, because anything that I have copied prior to using this combo is gone, and replaced by whatever I (right)ALT+BACKSPACE deleted. I thought this was a sublime key map issue, but I noticed it is doing this in the desktop itself. I cannot find anything regarding this key in linux settings. If there a way I can track this down to stop it from cutting the text where I really just want to perform delete the complete line?

@inakilbss
Copy link

shift+delete, along with shift+insert, is a keyboard shortcut that comes from xorg
idk if there's a way to disable them, but you should be able to delete the line without copying it with some more complex output:

key(KEY_HOME). # go to start of line
modify(Shift_L, key(KEY_END).key(Right)). # select line contents + break if exists
key(BackSpace). # delete

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants