cknadler / vim-anywhere

Use Vim everywhere you've always wanted to
MIT License
3.67k stars 146 forks source link

Use without temp files on mac [suggestion] #116

Open electricWah opened 2 years ago

electricWah commented 2 years ago

I have found that you can use vimscript to copy the buffer to the clipboard on mac: vim -c 'autocmd VimLeave * %!pbcopy' This works with gvim/macvim as well