Skip to content

Instantly share code, notes, and snippets.

@kewah
Last active March 6, 2022 07:22
Show Gist options
  • Save kewah/a5d8c1eff08db1623f98593727d99353 to your computer and use it in GitHub Desktop.
Save kewah/a5d8c1eff08db1623f98593727d99353 to your computer and use it in GitHub Desktop.
Personal User Settings for Vim plugin
{
"vim.surround": true,
"vim.sneak": true,
"vim.easymotion": true,
"vim.easymotionMarkerFontFamily": "Inconsolata",
"vim.easymotionMarkerHeight": 15,
"vim.easymotionMarkerFontSize": "14",
"vim.easymotionMarkerYOffset": 1,
"vim.useSystemClipboard": true,
"vim.leader": "space",
"vim.useCtrlKeys": true,
"vim.handleKeys": {
"<C-h>": true,
"<C-l>": true
},
"vim.incsearch": true,
"vim.hlsearch": true,
"vim.substituteGlobalFlag": true,
"vim.statusBarColorControl": false,
"vim.insertModeKeyBindings": [
{
"before": ["j", "k"],
"after": ["<Esc>"]
}
],
"vim.normalModeKeyBindingsNonRecursive": [
{
"before": [";"],
"after": [":"]
},
{
"before": [":"],
"after": [";"]
},
{
"before": ["<C-h>"],
"after": ["<C-w>", "h"]
},
{
"before": ["<C-l>"],
"after": ["<C-w>", "l"]
},
{
"before": ["<C-j>"],
"after": ["<C-w>", "j"]
},
{
"before": ["<C-k>"],
"after": ["<C-w>", "k"]
},
{
"before": ["L"],
"after": ["$"]
},
{
"before": ["H"],
"after": ["^"]
},
{
"before": ["j"],
"after": ["g", "j"]
},
{
"before": ["k"],
"after": ["g", "k"]
},
{
"before": ["Y"],
"after": ["y", "$"]
},
{
"before": ["<leader>", "j"],
"after": ["<leader>", "<leader>", "j"]
},
{
"before": ["<leader>", "k"],
"after": ["<leader>", "<leader>", "k"]
},
{
"before": ["<leader>", "f"],
"after": ["<leader>", "<leader>", "f"]
},
{
"before": ["<leader>", "F"],
"after": ["<leader>", "<leader>", "F"]
},
{
"before": ["<leader>", "e"],
"after": ["<leader>", "<leader>", "e"]
},
{
"before": ["<leader>", "E"],
"after": ["<leader>", "<leader>", "E"]
},
{
"before": ["<leader>", "w"],
"after": ["<leader>", "<leader>", "w"]
},
{
"before": ["<leader>", "W"],
"after": ["<leader>", "<leader>", "W"]
},
{
"before": ["<C-n>"],
"after": [],
"commands": [
{
"command": ":noh",
"args": []
}
]
},
{
"before": ["g", "f"],
"after": [],
"commands": [
{
"command": "editor.action.goToDeclaration",
"args": []
}
]
},
{
"before": ["g", "b"],
"after": [],
"commands": [
{
"command": "editor.action.goToImplementation",
"args": []
}
]
},
{
"before": ["m", "a"],
"after": [],
"commands": [
{
"command": "bookmarks.toggle",
"args": []
}
]
},
{
"before": ["'", "a"],
"after": [],
"commands": [
{
"command": "bookmarks.jumpToNext",
"args": []
}
]
},
{
"before": ["'", "b"],
"after": [],
"commands": [
{
"command": "bookmarks.jumpToPrevious",
"args": []
}
]
},
{
"before": ["m", "space"],
"after": [],
"commands": [
{
"command": "bookmarks.clear",
"args": []
}
]
},
{
"before": ["u"],
"after": [],
"commands": [
{
"command": "undo",
"args": []
}
]
},
{
"before": ["<C-r>"],
"after": [],
"commands": [
{
"command": "redo",
"args": []
}
]
},
{
"before": ["tab"],
"after": [],
"commands": [
{
"command": "editor.action.indentLines",
"args": []
}
]
},
{
"before": ["<leader>", "n"],
"after": [],
"commands": [
{
"command": "workbench.action.editor.nextChange",
"args": []
}
]
},
{
"before": ["<leader>", "p"],
"after": [],
"commands": [
{
"command": "workbench.action.editor.previousChange",
"args": []
}
]
},
{
"before": ["*"],
"after": ["*", "z", "z"]
},
{
"before": ["n"],
"after": ["n", "z", "z"]
},
{
"before": ["N"],
"after": ["N", "z", "z"]
}
],
"vim.visualModeKeyBindingsNonRecursive": [
{
"before": ["L"],
"after": ["$"]
},
{
"before": ["H"],
"after": ["^"]
},
{
"before": ["tab"],
"after": [],
"commands": [
{
"command": "editor.action.indentLines",
"args": []
}
]
},
{
"before": ["<leader>", "j"],
"after": ["<leader>", "<leader>", "j"]
},
{
"before": ["<leader>", "k"],
"after": ["<leader>", "<leader>", "k"]
},
{
"before": ["<leader>", "f"],
"after": ["<leader>", "<leader>", "f"]
},
{
"before": ["<leader>", "F"],
"after": ["<leader>", "<leader>", "F"]
},
{
"before": ["<leader>", "e"],
"after": ["<leader>", "<leader>", "e"]
},
{
"before": ["<leader>", "E"],
"after": ["<leader>", "<leader>", "E"]
},
{
"before": ["<leader>", "w"],
"after": ["<leader>", "<leader>", "w"]
},
{
"before": ["<leader>", "W"],
"after": ["<leader>", "<leader>", "W"]
}
],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment