Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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
Comment

PREVIOUS NEXT
Code Example
Shell :: brew install npm 
Shell :: du sort by size 
Shell :: heroku cli add remote 
Shell :: firebase commands 
Shell :: pitivi download ubuntu 
Shell :: yarn equivalent of npm ci 
Shell :: vlc install linux 
Shell :: install gstreamer ubuntu 
Shell :: git log from selected branch 
Shell :: node js download ubuntu 
Shell :: install es_core_news_sm 
Shell :: uncompress tar 
Shell :: ubuntu gpg 2 
Shell :: how to add existing heroku remote 
Shell :: E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? 
Shell :: find xcode version 
Shell :: install geary ubuntu 
Shell :: add changes to last commit 
Shell :: Missing essential plugin: org.jetbrains.android 
Shell :: ssh-copy-id windows 
Shell :: conda install neptune ai 
Shell :: delete vscode mac 
Shell :: install pypy3 ubuntu 
Shell :: curl localhost 
Shell :: conda install boto3 
Shell :: install snap debian 
Shell :: macos install airport 
Shell :: edit last commit message 
Shell :: linux memory usage 
Shell :: pipenv not found after pip3 install 
ADD CONTENT
Topic
Content
Source link
Name
8+1 =