vim wsl copy to windows system clipboard
# if you want to paste from windows clipboard into vim
# while in Insert Mode press Shift+Ins and confirm paste
# to make vim yank to windows clipboard
# put the following in your .vimrc
# *you don't need to yank to a specific register
" WSL yank support
let s:clip = '/mnt/c/Windows/System32/clip.exe' " change this path according to your mount point
if executable(s:clip)
augroup WSLYank
autocmd!
autocmd TextYankPost * if v:event.operator ==# 'y' | call system(s:clip, @0) | endif
augroup END
endif
Also in C++:
- in ubuntu both mouse pad key working same
- debian docker
- drupal 8 uninstall hook
- apache is not starting in xampp ubuntu 20
- elifecycle npm install error
- k8s install rabbitmq
- install dot-prop
- after installing kali what next
- curl command in linux
- what is npm install
- how to ignore modified file in git
- expo install react-navigation-stack
- init step way to create repository git
- git error needs merge
- making password sensitive/hide in terraform
- macos install chromium
- code blocks for linux
- find which service is using port
- make atom default editor in git
- pip install requirements.txt
- view lubuntu-desktop from another computer
- see how large a directory is linux
- javascript currencey formatter
- how to install paint.net on linux