Apeiros-46B / qalc.nvim

A Neovim frontend for Qalculate
GNU General Public License v3.0
24 stars 2 forks source link

Yanking results #1

Closed ArvinSKushwaha closed 11 months ago

ArvinSKushwaha commented 11 months ago

Hi! Is there yet a way to yank the outputs of a qalc command?

Thanks!

Apeiros-46B commented 11 months ago

Not yet, but this is the next thing I will work on when I'm less busy. For now, you can copy using your terminal emulator as a workaround (shift + mouse drag, control + shift + c)

Apeiros-46B commented 11 months ago

This has been added as the :QalcYank command. You can give it a register as an argument (see :h setreg() for the format) or you can just use it without any arguments and it will use the register in your config (new config field yank_default_register, same format as the optional argument)