• VSCODE & Vim


    Vim 使用技巧
    CTRL+SHIFT + C/V复制粘贴
    快捷键用不了->保存新文件
    插入函数用不了->插入几个空行
    CTRL+B CTRL+F上下翻页刷新
    VSCODE 配置文件

    // 将键绑定放在此文件中以覆盖默认值
    [
    	{
    	"key": "f9",
    	"command": "workbench.action.tasks.runTask",
    	"args": "Com",
    	"when": "editorTextFocus"
    },
    {
    	"key": "f11",
    	"command": "workbench.action.tasks.runTask",
    	"args" : "ComRunf",
    	"when": "editorTextFocus"
    },
    {
    	"key": "f10",
    	"command": "workbench.action.tasks.runTask",
    	"args" :"Runf",
    	"when": "editorTextFocus"
    },{
    	"key": "f12",
    	"command": "workbench.action.tasks.runTask",
    	"when": "editorTextFocus"
    },
    ]
    
    tasks.json
    {
    	// See https://go.microsoft.com/fwlink/?LinkId=733558
    	// for the documentation about the tasks.json format
    	"version": "2.0.0",
    	"inputs":[
    		{
    			"id": "Runtag",
    			"type": "promptString",
    			"description": "Run info",
    			"default": "<1.in >1.out",
    		},
    		{
    			"id": "Comtag",
    			"type": "promptString",
    			"description": "Compile info",
    			"default": "",
    		}
    	],
    	"tasks": [
    		{
    			"label": "Com",
    			"type": "shell",
    			"command": "g++ ${file} -o ${fileBasenameNoExtension} ",
    			"problemMatcher": {
    				"owner": "cpp",
    				"fileLocation": [
    					"relative",
    					"./"
    				],
    				"pattern": {
    					"regexp": "^(.*):([0-9]+):([0-9]+): (.*): (.*)$",
    					"file": 1,
    					"line": 2,
    					"column": 3,
    					"severity": 4,
    					"message": 5
    				}
    			},
    			"presentation": {
    				"echo": true,
    				"reveal": "never",
    				"focus": false,
    				"panel": "shared",
    				"showReuseMessage": false,
    				"clear": false
    			},
    			"group": "build"
    		},
    		{
    			"label": "ComC",
    			"type": "shell",
    			"command": "g++ ${file} -o ${fileBasenameNoExtension} ${input:Comtag}",
    			"problemMatcher": {
    				"owner": "cpp",
    				"fileLocation": [
    					"relative",
    					"./"
    				],
    				"pattern": {
    					"regexp": "^(.*):([0-9]+):([0-9]+): (.*): (.*)$",
    					"file": 1,
    					"line": 2,
    					"column": 3,
    					"severity": 4,
    					"message": 5
    				}
    			},
    			"presentation": {
    				"echo": true,
    				"reveal": "never",
    				"focus": false,
    				"panel": "shared",
    				"showReuseMessage": false,
    				"clear": false
    			},
    			"group": "build"
    		},
    		{
    			"label": "ComRunf",
    			"type": "shell",
    			"command": "g++ ${file} -o ${fileBasenameNoExtension} && ./${fileBasenameNoExtension} ${input:Runtag}",
    			"problemMatcher": {
    				"owner": "cpp",
    				"fileLocation": [
    					"relative",
    					"./"
    				],
    				"pattern": {
    					"regexp": "^(.*):([0-9]+):([0-9]+): (.*): (.*)$",
    					"file": 1,
    					"line": 2,
    					"column": 3,
    					"severity": 4,
    					"message": 5
    				}
    			},
    			"presentation": {
    				"echo": true,
    				"reveal": "never",
    				"focus": false,
    				"panel": "shared",
    				"showReuseMessage": false,
    				"clear": false
    			},
    			"group": "build"
    		},
    		{
    			"label": "Runf",
    			"type": "shell",
    			"command": "./${fileBasenameNoExtension} ${input:Runtag}",
    			"problemMatcher": {
    				"owner": "cpp",
    				"fileLocation": [
    					"relative",
    					"./"
    				],
    				"pattern": {
    					"regexp": "^(.*):([0-9]+):([0-9]+): (.*): (.*)$",
    					"file": 1,
    					"line": 2,
    					"column": 3,
    					"severity": 4,
    					"message": 5
    				}
    			},
    			"presentation": {
    				"echo": true,
    				"reveal": "never",
    				"focus": false,
    				"panel": "shared",
    				"showReuseMessage": false,
    				"clear": false
    			},
    			"group": {
    				"kind": "build",
    				"isDefault": true
    			}
    		}
    	]
    }
    
    {
        "workbench.colorTheme": "Quiet Light",
        "editor.cursorSmoothCaretAnimation": true,
        "editor.tabCompletion": "on",
        "editor.insertSpaces": false,
    	"editor.detectIndentation": false,
    	"terminal.integrated.defaultLocation": "editor",
    	"window.zoomLevel": 1
    }
    
  • 相关阅读:
    HIVE高级(14):优化(14) Hive On Spark配置
    HIVE高级(13):优化(13) Hive Job 优化
    HIVE高级(12):优化(12) 数据倾斜
    HIVE高级(11):优化(11) HQL 语法优化(2) 多表优化
    HIVE高级(10):优化(10) HQL 语法优化(1) 单表优化
    HIVE高级(9):优化(9) Hive 建表优化(1) 分区表/分桶表/合适的文件格式/合适的压缩格式
    HIVE高级(8):优化(8) Explain 查看执行计划(二)
    Hive基础(19):Hive 函数(2) 自定义函数/自定义 UDF 函数/自定义 UDTF 函数
    Hive基础(18):Hive语法(5) DDL(2) 分区表和分桶表
    MATLAB RGB2HSV、HSV2RGB
  • 原文地址:https://www.cnblogs.com/cdsidi/p/16747841.html
Copyright © 2020-2023  润新知