question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Implement M-y and kill-ring

See original GitHub issue

Ever since upgrading to IPython 5.1 I’ve been bothered by M-y not working. I finally got around to doing some research and came across this comment from @jonathanslenders that mentions python-prompt-toolkit doesn’t yet have an equivalent of a “kill-ring” and that M-y is unimplemented. Are there plans to support this feature?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
jonathanslenderscommented, Nov 9, 2016

Thank you for all the feedback! This is great. yank-last-arg has been implemented for the last release: https://github.com/jonathanslenders/python-prompt-toolkit/commit/0c09bf034aeeb2facbfbc070cc4fa2f58620baa5

1reaction
jonathanslenderscommented, Nov 9, 2016

I just learned how to use yank and yank-pop. This is not going to be too hard to implement.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Earlier Kills (GNU Emacs Manual)
2 Yanking Earlier Kills. As explained in Yanking, you can use a numeric argument to C-y to yank text that is no longer...
Read more >
Browse Kill Ring - EmacsWiki
Browsing the Kill Ring. Use Edit -> Paste from Kill Menu. A quite simple standard way to browse and select the first couple...
Read more >
Emacs: How to yank the last yanked text regardless of ...
Don't use the kill ring; put the text into a register instead. C-x r s a to store the region's text into (say)...
Read more >
forked from TJ-Teru/browse-kill-ring - GitHub
Are you tired of using the endless keystrokes of C-y M-y M-y M-y ... to get at that bit of text you killed...
Read more >
copy paste - Add operating system clipboard to kill ring
You need to customize save-interprogram-paste-before-kill to t . This will push your clipboard onto the killring in case you kill something ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found