zoukankan      html  css  js  c++  java
  • 折腾WSL

    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>
    
  • 相关阅读:
    素数筛法
    UVA, 967 Circular
    软件开发一些常用工具
    iOS 一些常用方法笔记
    iOS 项目调试
    UINavigation的基本使用
    Tomcat多实例部署
    五联疫苗介绍
    互联网公司架构
    分布式事务
  • 原文地址:https://www.cnblogs.com/ubospica/p/13687924.html
Copyright © 2011-2022 走看看