is there a way to get emacs to copy text into a paste buffer as you
type? for example, I would like to type 'null => false' once
and be able to paste into the other lines
t.string :title, null => false
t.string :name, null => false
t.text :post, null => false
Yes, but you have to tell it when to start and stop copying.
C-SPC n u l l => f a l s e C-x C-x C-x C-x M-w
Start:
`C-SPC' Mark selection beginning.
Type text.
Stop:
`C-x C-x' Activate selection, swapping mark and point.
`C-x C-x' Swap mark and point back again.
`M-x' Copy selection to kill-ring (paste buffer).
Then `C-y' to yank (paste) it.