Giter VIP home page Giter VIP logo

Comments (2)

niten94 avatar niten94 commented on August 16, 2024

I think it is expected that the clipboard was not set with the text copied in micro when Ctrl+C is pressed because write-clipboard or write-primary were not also specified in clipboard_control in kitty configuration.

Cmd+C and Cmd+V are the same with Ctrl+Shift+C and Ctrl+Shift+V but they are handled in kitty. Ctrl+C and Ctrl+V are handled in micro. There is no event received in micro when text is copied using Cmd+C and Ctrl+Shift+C so there is no message when those shortcuts are pressed.

I was looking at this page but no-append would have to be added in clipboard_control in kitty configuration when using clipboard in tmux: https://github.com/tmux/tmux/wiki/Clipboard#terminal-support---kitty
I have not used tmux before but I think text copied when pressing Ctrl+C in micro in tmux can also be pasted in other programs when set-clipboard (server option) is set as on in ~/.tmux.conf like this:

set -s set-clipboard on

I do not know if it is a bug but I was not able to retrieve the text in the clipboard like how it is done when pressing Ctrl+V in micro when I was testing using tmux 3.3a and kitty 0.19.3.

from micro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.