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

Yanking with C-y works in minibuffer but not in org-mode #3127

Closed
antoan opened this issue May 14, 2020 · 2 comments
Closed

Yanking with C-y works in minibuffer but not in org-mode #3127

antoan opened this issue May 14, 2020 · 2 comments
Labels
invalid Unactionable, unrelated, inappropriate, or a pilot error re:evil Related to vim/evil usage and users re:keybinds Changes to or discussion about Doom's keybinds

Comments

@antoan
Copy link

antoan commented May 14, 2020

What did you expect to happen?
Paste text copied from browser to clipboard into org-mode buffer using C-y
...

What actually happened?
A single asterix is printed instead of text in clipboard
...

Additional details:

  • Include a link to your private config
  • Include screenshots/casts of your issue
  • If you mention key sequences, include what commands they're bound to (use SPC h k KEY or C-h h k KEY to inspect keys).
  • Include any warnings or errors logged to *Messages* (use M-x view-echo-area-messages to see it).
If an error message is involved include a backtrace of it.

How to acquire a backtrace:
https://github.com/hlissner/doom-emacs/blob/develop/docs/getting_started.org#how-to-extract-a-backtrace-from-an-error

Steps to reproduce:

  1. Select these example steps,
  2. Delete them,
  3. And replace them with precise steps to reproduce your issue.
  4. Fill in "system information" below.

System information:

Place the output of `M-x doom/info` or `~/.emacs.d/bin/doom info` here.

I can however copy the text using M-x clipboard-yank which is not bound to any keys. Is this intentional?

The only editing I've done so far on my private configuration is to enable the cc module.

Cheers.

@antoan antoan added the is:bug Something isn't working as intended label May 14, 2020
@hlissner
Copy link
Member

I ran F1 k C-y in org and it yields evil-copy-from-above, which is the default behavior of C-y for evil users. If you don't want evil, I'd recommend disabling it. Otherwise, here are some "evil" ways to paste things in insert mode:

  1. C-r +
  2. C-o p (C-o = exit insert mode for a single command).
  3. If you're on macOS -- I can't tell because you didn't include your M-x doom/info -- cmd+v will work too
  4. Turn on cua-mode (by adding (cua-mode +1) to ~/.doom.d/config.el), and C-v will become available for pasting.

Hope that helps!

@hlissner hlissner added invalid Unactionable, unrelated, inappropriate, or a pilot error re:evil Related to vim/evil usage and users re:keybinds Changes to or discussion about Doom's keybinds and removed is:bug Something isn't working as intended labels May 14, 2020
@antoan
Copy link
Author

antoan commented May 15, 2020

I see, thank you, I really appreciate it.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 31, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
invalid Unactionable, unrelated, inappropriate, or a pilot error re:evil Related to vim/evil usage and users re:keybinds Changes to or discussion about Doom's keybinds
Projects
None yet
Development

No branches or pull requests

2 participants