How to paste to Emacs from clipboard on OSX?
Try using the M-x clipboard-yank command. If you want to copy text to the clipboard you have to M-x clipboard-kill-region. This works on Linux and Windows, I guess on Mac it’s the same.
Try using the M-x clipboard-yank command. If you want to copy text to the clipboard you have to M-x clipboard-kill-region. This works on Linux and Windows, I guess on Mac it’s the same.
Yes. Put before the command the number of times you want to repeat the action. And this works with many of vim commands. It would be: 30p
I have this in my .vimrc: xnoremap p pgvy (note: this will work only with the default register, but this mapping is easy to remember). Writing a more elaborate version would be possible. Also, you still can use P to get the old behaviour.
You were on track with paste(1): $ paste -d , date1.csv date2.csv Bob,2013-06-03T17:18:07,2012-12-02T18:30:31 James,2013-06-03T17:18:07,2012-12-02T18:28:37 Kevin,2013-06-03T17:18:07,2013-06-01T12:16:05 It’s a bit unclear from your question if there are leading spaces on those lines. If you want to get rid of that in the final output, you can use cut(1) to snip it off before pasting: $ cut -c … Read more