Closed dakom closed 6 years ago
solve: install gvim instead(need a lot dependencies)
by passing buffer to clip.exe(windows cmd) **my env LANG=en_US.UTF-8
$ alias clip='/mnt/c/Windows/SystemWOW64/clip.exe'
$ alias gclip='iconv -t ${LANG##*.} -f GBK|clip' # chinese need to trans encoding
:w !clip
:'b,'e w !gclip
I ended up solving it by switching to Neovim, which has a solution using w32yank :)
Works perfectly :D
Closing this for now - thanks!
this would be great ;)
Is it possible to somehow have them be the same thing?
Specifically, I want to be able to do this from vim in wsl-terminal:
"+y
and then paste the contents on the windows host side. Alternatively, copy something from a browser in the windows host side, and paste it into Vim via"+p