I would like to copy an entire line from buffer A -to-> buffer B.
The same way you would do it in an Ediff session.
That you just press A or B and the entireline is copied.
However I’m not in an ediff because both files are different.
Is there a fast way to do it?
Or will a keyboard macro be the best option??
A keyboard macro is definitely the best option here unless you’re interested in learning emacs-lisp.
Here is C-h l lossage from recording this macro
Here is the macro dumped as text (
edit-last-kbd-macro)Here is the code to bind the macro to a key in your init file: