Comments (3)
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.
Sorry for the late reply!
So far I have clipboard_control read-primary read-clipboard write-clipboard write-primary no_append
in my kitty conf file, and I have
set-option -s set-clipboard external
set -as terminal-features, ',rxvt-unicode-256color:clipboard
in my tmux conf file, as recommended here. Despite this, I have the same issues.
I also tried set-option -s set-clipboard on
and set -s copy-command 'xsel -i'
, still no luck.
Anyone have any ideas as to what's going on?
from micro.
The comma after terminal-features
has to be removed and apostrophe has to be added at the end in the 2nd command like this: set -as terminal-features ',rxvt-unicode-256color:clipboard'
I do not think xsel
can usually be used on Mac and ssh sessions.
from micro.
Related Issues (20)
- palettero plugin breaks `\u001b[` keybindings
- lock to provide warning when opening a file already opened in another instance of micro HOT 2
- set filetype sets the filetype for all opened tabs and not the current focused HOT 4
- Feature proposal: TUI drop-down menus HOT 2
- Enhanced multi-line editing
- Why doesn't Micro use Nano's syntax coloring? HOT 6
- [WSL] Font changed to Raster Fonts when opening Micro
- Changing default linter behaviour HOT 1
- how to input nano keybinds into micro? HOT 4
- Maybe redo should keep cursor where modification happens (not respecting pure line change in redoing)? HOT 6
- Micro places compiled Java programs into incorrect directory when auto-compiling HOT 2
- Running remote commands causes the editor to freeze up HOT 2
- Scroll with moving the scrollbar - a small idea for more convenience HOT 2
- Request (or just a general question) about .mo (modelica) syntax highlight support. HOT 1
- Weird tab bar behavior HOT 1
- Jumping to matching brace not as expected HOT 8
- editorconfig not applied HOT 2
- XHTML? HOT 3
- Distribution with DotSlash? HOT 1
- Match brace highlight is not working at all. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from micro.