vim复制粘贴
如何将vim进行系统剪贴板的粘贴
Cut or copy lines without counting the lines
- In normal mode, go to the beginning of the section that you want to yank. Type mk to mark this spot as k.
- Go to the end of the section you want to yank using whatever movement commands you like.
- Type: y'k (
, , k) To yank from the mark to the current location. - You can paste those lines wherever you want with p
http://vim.wikia.com/wiki/Cut_or_copy_lines_without_counting_the_lines