To get the equivalent of kill line command in emacs for copying purposes, I use the following code snippet. Just copy paste it in your .emacs file. 1(defun copy-line (arg) 2"Copy lines (as many as prefix argument) in the kill ring" 3(interactive "p") 4(kill-ring-save (line-beginning-position) …
Read More