-
Notifications
You must be signed in to change notification settings - Fork 139
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
Clipboard Confusing Defaults and Documentation #543
Comments
I was also confused about why use clipboard is off by default in meow. At least in my case, I have |
The nil default for When the option is nil, calling For some reason, the text saved by When [Edit]: I like that Meow has gotten me more comfortable with core Emacs behavior and even its keybindings thanks to the project's admirable philosophy of augmenting instead of replacing (e.g. evil-mode) of Emacs functionality. For that reason, I do find myself alternating frequently between using Meow bindings and core Emacs bindings even within the course of writing a single paragraph or function or whatever. That is a good thing. And that is why any inconsistent behavior becomes more frustrating -- with Meow, inconsistencies become less expected than if I were using evil-mode. |
There were some hacks around the copy/paste in the past, so I was not sure about the compatibility. So I documented as "not recommended". If people think it works well with the clipboard, then I should update the document, or maybe even the default behavior. |
The default clipboard configuration is confusing and there isn't much clipboard discussion to be found in the docs or other issue reports.
Confusing Defaults
By default the Emacs variable
select-enable-clipboard
ist
as specified here. As a result,kill
andyank
will access the clipboard.However, by default
meow-use-clipboard
isnil
as specified in the docs. Consequently, the meow versions of the commandsmeow-kill
andmeow-yank
will not access the clipboard.The interplay between these defaults is confusing. For example, lets say I am in INSERT mode, and use
C-k
tokill
line A. Now I exit INSERT mode and then usemeow-kill
to kill line B. Finally, I re-enter insert mode, and useC-y
toyank
. I expect this yank will give me line B, the last thing I killed. However, I instead get line A.Setting
meow-use-clipboard
tot
as a fix: not recommendedIf I set
meow-use-clipboard
tot
, I will get the behavior I expect. However, this is listed as "Not recommended" in the docs. There is no reason given, but presumably the idea is to keep kill/yank functionality separate from the clipboard.Keeping the clipboard separate
If it is desirable to keep the clipboard and kill/yank separate, how do you implement this? Do you use SimpleClip or a custom setup?
The text was updated successfully, but these errors were encountered: