Skip to content

Instantly share code, notes, and snippets.

@BABA983
Created January 30, 2024 02:05
Show Gist options
  • Save BABA983/5b51c2deaed32a9c5a0b571775abc52c to your computer and use it in GitHub Desktop.
Save BABA983/5b51c2deaed32a9c5a0b571775abc52c to your computer and use it in GitHub Desktop.

Revisions

  1. BABA983 created this gist Jan 30, 2024.
    48 changes: 48 additions & 0 deletions keybinds.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,48 @@
    {
    // window move down
    "key": "ctrl+j",
    "command": "vim.remap",
    "when": "vim.mode == 'Normal' && !suggestWidgetVisible && !inQuickOpen",
    "args": {
    "after": [
    "<c-w>",
    "j"
    ]
    }
    },
    {
    // window move up
    "key": "ctrl+k",
    "command": "vim.remap",
    "when": "vim.mode == 'Normal' && !suggestWidgetVisible && !inQuickOpen && !panelFocus",
    "args": {
    "after": [
    "<c-w>",
    "k"
    ]
    }
    },
    {
    // window move left
    "key": "ctrl+h",
    "command": "vim.remap",
    "when": "vim.mode == 'Normal' && !suggestWidgetVisible && !inQuickOpen && !panelFocus",
    "args": {
    "after": [
    "<c-w>",
    "h"
    ]
    }
    },
    {
    // window move right
    "key": "ctrl+l",
    "command": "vim.remap",
    "when": "vim.mode == 'Normal' && !suggestWidgetVisible && !inQuickOpen",
    "args": {
    "after": [
    "<c-w>",
    "l"
    ]
    }
    },
    31 changes: 31 additions & 0 deletions settings.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,31 @@
    {
    "workbench.colorCustomizations": {
    // "terminal.background": "#323232",
    "terminal.foreground": "#d8d8d8",
    "terminalCursor.background": "#D8D8D8",
    "terminalCursor.foreground": "#D8D8D8",
    "terminal.ansiBlack": "#252525",
    "terminal.ansiBrightBlack": "#252525",
    "terminal.ansiRed": "#df9997",
    "terminal.ansiBrightRed": "#df9997",
    "terminal.ansiGreen": "#badb97",
    "terminal.ansiBrightGreen": "#badb97",
    "terminal.ansiYellow": "#dfbc98",
    "terminal.ansiBrightYellow": "#e9d2bc",
    "terminal.ansiBlue": "#97bcde",
    "terminal.ansiBrightBlue": "#97bcde",
    "terminal.ansiMagenta": "#debddd",
    "terminal.ansiBrightMagenta": "#debddd",
    "terminal.ansiCyan": "#99dfc1",
    "terminal.ansiBrightCyan": "#bdeae3",
    "terminal.ansiWhite": "#d8d8d8",
    "terminal.ansiBrightWhite": "#f2f2f2",
    "terminal.selectionBackground": "#5f5f5f",
    "terminal.integrated.cursorBlinking": true,
    "terminal.integrated.lineHeight": 1.6,
    "terminal.integrated.letterSpacing": 0.1,
    // "terminal.integrated.fontSize": 30, //字体大小设置
    // "terminal.integrated.fontFamily": "Lucida Console", //字体设置
    "terminal.integrated.shell.linux": "/bin/zsh"
    },
    }