Configuration
{
"defaultProfile": "{2c4de342-38b7-51cf-b940-2309a097f518}",
"profiles":
{
"defaults":
{
// *************** edited by me ***************
"acrylicOpacity": 1, //背景透明度
"useAcrylic": true, // 启用毛玻璃
"backgroundImage": "C:\\aa.mine\\picture\\壁纸\\19.10_ermine_wp_4096x2304_AW_noise.png", //背景图片
"backgroundImageOpacity": 0.5 //图片透明度
// *************** edit end ***************
},
"list":
[
{
"guid": "{2c4de342-38b7-51cf-b940-2309a097f518}",
"hidden": false,
"name": "Ubuntu",
"source": "Windows.Terminal.Wsl",
"startingDirectory": "//wsl$/Ubuntu/home/ubospica"
}
]
},
"keybindings":
[
// { "command": {"action": "copy", "singleLine": false }, "keys": "ctrl+c" },
// { "command": "paste", "keys": "ctrl+v" },
]
}
Vim
" WSL yank/paste 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
nnoremap "+p :r !powershell.exe -Command "& {Get-Clipboard}"<Enter>