vscode changes
This commit is contained in:
parent
4a9a646c01
commit
be17bb97d2
3 changed files with 92 additions and 79 deletions
|
|
@ -20,6 +20,8 @@ in
|
|||
#mutableExtensionsDir = false;
|
||||
extensions = with marketplace; [
|
||||
vscodevim.vim # vim mode (hopefully good)
|
||||
fathulfahmy.lunarkeymap
|
||||
vspacecode.whichkey
|
||||
jdinhlife.gruvbox # theme
|
||||
mkhl.direnv # direnv
|
||||
|
||||
|
|
@ -112,29 +114,29 @@ in
|
|||
"editor.minimap.autohide" = true;
|
||||
|
||||
"editor.tabCompletion" = "onlySnippets";
|
||||
"editor.snippetSuggestions" = "top";
|
||||
#"editor.snippetSuggestions" = "top";
|
||||
|
||||
# Addon Configuration
|
||||
|
||||
## Vim
|
||||
"vim.leader" = "<space>";
|
||||
"vim.normalModeKeyBindings" = [
|
||||
{ before = [ "<C-h>" ]; after = [ "<C-w>" "h" ]; }
|
||||
{ before = [ "<C-j>" ]; after = [ "<C-w>" "j" ]; }
|
||||
{ before = [ "<C-k>" ]; after = [ "<C-w>" "k" ]; }
|
||||
{ before = [ "<C-l>" ]; after = [ "<C-w>" "l" ]; }
|
||||
];
|
||||
# "vim.normalModeKeyBindings" = [
|
||||
# { before = [ "<C-h>" ]; after = [ "<C-w>" "h" ]; }
|
||||
# { before = [ "<C-j>" ]; after = [ "<C-w>" "j" ]; }
|
||||
# { before = [ "<C-k>" ]; after = [ "<C-w>" "k" ]; }
|
||||
# { before = [ "<C-l>" ]; after = [ "<C-w>" "l" ]; }
|
||||
# ];
|
||||
"vim.normalModeKeyBindingsNonRecursive" = [
|
||||
{
|
||||
before = [ "<leader>" "s" ];
|
||||
"commands" = [ "workbench.action.splitEditor" ];
|
||||
quiet = true;
|
||||
}
|
||||
{
|
||||
before = [ "<leader>" "a" "s" ];
|
||||
"commands" = [ "workbench.action.splitEditorDown" ];
|
||||
quiet = true;
|
||||
}
|
||||
# {
|
||||
# before = [ "<leader>" "s" ];
|
||||
# "commands" = [ "workbench.action.splitEditor" ];
|
||||
# quiet = true;
|
||||
# }
|
||||
# {
|
||||
# before = [ "<leader>" "a" "s" ];
|
||||
# "commands" = [ "workbench.action.splitEditorDown" ];
|
||||
# quiet = true;
|
||||
# }
|
||||
{
|
||||
before = [ "<leader>" "q" ];
|
||||
"commands" = [ "workbench.action.closeActiveEditor" ];
|
||||
|
|
@ -175,22 +177,12 @@ in
|
|||
"commands" = [ "editor.action.goToReferences" ];
|
||||
quiet = true;
|
||||
}
|
||||
{
|
||||
before = [ "<Tab>" ];
|
||||
"commands" = [ "workbench.view.explorer" ];
|
||||
quiet = true;
|
||||
}
|
||||
{
|
||||
before = [ "<S-Tab>" ];
|
||||
"commands" = [ "workbench.action.closeSidebar" ];
|
||||
quiet = true;
|
||||
}
|
||||
{
|
||||
before = [ "<leader>" "t" ];
|
||||
"commands" = [ "terminal.focus" ];
|
||||
quiet = true;
|
||||
}
|
||||
];
|
||||
"vim.useSystemClipboard" = false;
|
||||
"vim.handleKeys" = {
|
||||
"<C-w>" = false;
|
||||
};
|
||||
"vim.camelCaseMotion.enable" = true;
|
||||
## git
|
||||
"git.verboseCommit" = true;
|
||||
"git.allowForcePush" = true;
|
||||
|
|
@ -236,6 +228,9 @@ in
|
|||
"hediet.vscode-drawio.resizeImages" = "null";
|
||||
|
||||
};
|
||||
keybindings = [
|
||||
{ "key" = "ctrl+w"; "command" = "whichkey.show"; }
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,6 +28,12 @@ extension_name = "vscode-peacock"
|
|||
[[extensions]]
|
||||
publisher_name = "sonarsource"
|
||||
extension_name = "sonarlint-vscode"
|
||||
[[extensions]]
|
||||
publisher_name = "fathulfahmy"
|
||||
extension_name = "lunarkeymap"
|
||||
[[extensions]]
|
||||
publisher_name = "VSpaceCode"
|
||||
extension_name = "whichkey"
|
||||
|
||||
# notetaking
|
||||
[[extensions]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue