copy_mark
copy_mark [ -append] [ -noclm] [buffername]
This command copies the currently selected text to the specified paste buffer. If a buffer name is supplied, then that buffer is used. Otherwise the current paste buffer is used. By default, the selection is cleared after the selection is copied. If -append is specified, text is inserted at the end of the buffer rather than completely replacing its contents. If -noclm is specified, the current selection is not cleared.
Change tracking markup is never copied to a buffer on a cut or copy. What is copied is determined by the
set viewchangetracking command. If the command is set to show
changeshighlighted, then the
changesapplied view of the selection is used instead.
cpm is a synonym for copy_mark.
Examples
cpm
cpm buf1
cpm -noclm
cpm -append buf1
Related Topics