Skip to content

Instantly share code, notes, and snippets.

@crazyboycjr
Last active July 2, 2020 11:01
Show Gist options
  • Save crazyboycjr/b2aca85c917bbefee3a7d82998503570 to your computer and use it in GitHub Desktop.
Save crazyboycjr/b2aca85c917bbefee3a7d82998503570 to your computer and use it in GitHub Desktop.
vscode user settings and c_cpp_properties.json for LKD
{
"env": {
"kernel_release": "5.5.2-arch1-1"
},
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/**",
"/usr/lib/modules/${env:kernel_release}/build/include",
"/usr/lib/modules/${env:kernel_release}/build/arch/x86/include/",
"/usr/lib/modules/${env:kernel_release}/build/arch/x86/include/generated"
],
"defines": [
"__KERNEL__",
"MODULE"
],
"compilerPath": "/usr/bin/clang",
"cStandard": "c11",
"cppStandard": "c++17",
"intelliSenseMode": "clang-x64"
}
],
"version": 4
}
// Place your key bindings in this file to overwrite the defaultsauto[]
[
{
"key": "alt+left",
"command": "workbench.action.navigateBack"
},
{
"key": "ctrl+alt+-",
"command": "-workbench.action.navigateBack"
},
{
"key": "alt+right",
"command": "workbench.action.navigateForward"
},
{
"key": "ctrl+shift+-",
"command": "-workbench.action.navigateForward"
},
{
"key": "ctrl+h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl+l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl+k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl+j",
"command": "workbench.action.navigateDown"
}
]
{
"terminal.integrated.scrollback": 10000000,
"window.zoomLevel": -1,
"editor.tabSize": 2,
"workbench.colorCustomizations": {
"editor.selectionHighlightBackground": "#f5ce23"
},
"window.titleBarStyle": "custom",
"explorer.confirmDelete": false,
"workbench.colorTheme": "Solarized Light",
"vim.cursorStylePerMode.insert": "block",
"vim.cursorStylePerMode.normal": "block",
"vim.leader": "\\",
"vim.normalModeKeyBindingsNonRecursive": [
{
"before": ["<leader>", "<leader>"],
"commands": [":w"]
},
{
"before": ["Z", "Z"],
"commands": [
{
"command": "workbench.action.files.save",
"args": []
},
{
"command": "workbench.action.closeActiveEditor",
"args": []
}
]
}
],
// Path to a Chromium or Chrome executable to run instead of the bundled Chromium.
"markdown-pdf.executablePath": "/usr/bin/google-chrome-stable",
"C_Cpp.updateChannel": "Insiders",
"[cpp]": {},
"C_Cpp.enhancedColorization": "Disabled",
"[rust]": {
"editor.tabSize": 4
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment