sulami / literate-calc-mode.el

🧮 Literate programming for M-x calc
https://melpa.org/#/literate-calc-mode
GNU General Public License v3.0
328 stars 13 forks source link

Keybinding to copy a line's results #46

Open jwiegley opened 2 months ago

jwiegley commented 2 months ago

When I don't have results being inserted into the buffer, is there any way to quickly copy the results shown for the current line onto the kill ring? I find myself often wanting to paste this value into calc to do further work on it, so even a literate-calc-result-to-calc would be pretty awesome...

Loving this mode! It has replaced my use of Soulver 3 now. :)

sulami commented 2 months ago

Good idea. I've added pushing to the kill ring, which is pretty simple. To push into calc, I'd have to dig into that a bit to figure out how to properly insert a value.