Skip to content

Conversation

@willmcgugan
Copy link
Member

  • Implements cut/copy/paste with ctrl+x, ctrl+c, and ctrl+v
  • Binds quit to ctrl+q (previously ctrl+c)

Copy link
Member

@darrenburns darrenburns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just minor things

@willmcgugan willmcgugan merged commit ebdd6ef into main Dec 6, 2024
23 checks passed
@willmcgugan willmcgugan deleted the clipboard branch December 6, 2024 17:15
@darrenburns
Copy link
Member

I tested and "command + x" does cut the line for me in VSCode and on an online version of VSCode. I think we should revert ctrl+x with no selection to cut the line instead of it doing nothing.

@willmcgugan
Copy link
Member Author

It doesn't seem to cut the line for me. Does nothing AFAICT.

Not apposed to changing it.

@darrenburns
Copy link
Member

You must have some config/plugin/keybind override going on as I tested it on an online VSCode with no config and it cut. I'll PR that as it'll just take a moment.

@darrenburns
Copy link
Member

Turns out the new binding wasn't working anyway:

Binding("ctrl+shift+x", "delete_line", "Delete line", show=False),

Should be ctrl+X :)

@willmcgugan
Copy link
Member Author

Really? textual keys reports ctrl+shift+x

@darrenburns
Copy link
Member

Uh oh
image

@willmcgugan
Copy link
Member Author

Very strange! is that running in VSCode?

@darrenburns
Copy link
Member

darrenburns commented Dec 10, 2024

iTerm2 3.5.10 😬

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

Successfully merging this pull request may close these issues.

3 participants