laptop
Elias Almqvist 9 months ago
commit 3f2c0672f7
No known key found for this signature in database
GPG Key ID: E31A99CE3E75A158
  1. 55
      code/.config/Code/User/settings.json
  2. 36
      gnome-settings.ini
  3. 4
      nvchad/.config/nvim/lua/custom/chadrc.lua
  4. 26
      nvchad/.config/nvim/lua/custom/plugins.lua
  5. 2
      oh-my-zsh/.oh-my-zsh/aliases.sh

@ -1,6 +1,5 @@
{ {
"telemetry.telemetryLevel": "off", "telemetry.telemetryLevel": "off",
"editor.insertSpaces": false,
"editor.detectIndentation": true, "editor.detectIndentation": true,
"explorer.confirmDelete": false, "explorer.confirmDelete": false,
"git.openRepositoryInParentFolders": "never", "git.openRepositoryInParentFolders": "never",
@ -9,12 +8,21 @@
}, },
"workbench.startupEditor": "none", "workbench.startupEditor": "none",
"editor.minimap.enabled": false, "editor.minimap.enabled": false,
"breadcrumbs.enabled": false, "breadcrumbs.enabled": true,
"editor.renderWhitespace": "none", "editor.renderWhitespace": "none",
"window.menuBarVisibility": "toggle", "window.menuBarVisibility": "toggle",
"editor.fontFamily": "Fira Code, 'Droid Sans Mono', 'monospace', monospace", "editor.fontFamily": "Fira Code, 'Droid Sans Mono', 'monospace', monospace",
"window.zoomLevel": -1,
"jupyter.askForKernelRestart": false, "jupyter.askForKernelRestart": false,
"vim.handleKeys": {
"<C-j>": false,
"<C-l>": false,
"<C-k>": false,
"<C-d>": false,
"<C-p>": false,
"<C-i>": false,
"<C-b>": false,
"<C-o>": false,
},
"vim.normalModeKeyBindingsNonRecursive": [ "vim.normalModeKeyBindingsNonRecursive": [
{ {
"before": ["u"], "before": ["u"],
@ -57,44 +65,49 @@
{ {
"before": ["c-<leader>"], "before": ["c-<leader>"],
"commands": ["editor.action.triggerSuggest"] "commands": ["editor.action.triggerSuggest"]
},
{
"before": ["<leader>", "g"],
"commands": ["editor.action.showHover"]
} }
], ],
"vim.leader": "<Space>",
"editor.mouseWheelScrollSensitivity": 2, "editor.mouseWheelScrollSensitivity": 2,
"editor.smoothScrolling": true, "editor.smoothScrolling": true,
"workbench.list.smoothScrolling": true, "workbench.list.smoothScrolling": true,
"terminal.integrated.smoothScrolling": true, "terminal.integrated.smoothScrolling": true,
"editor.cursorSmoothCaretAnimation": "on",
"[latex]": { "[latex]": {
"editor.defaultFormatter": "mathematic.vscode-latex" "editor.defaultFormatter": "mathematic.vscode-latex"
}, },
"cSpell.userWords": [ "C_Cpp.intelliSenseEngine": "disabled",
"pycocotools",
"torchvision"
],
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter"
},
"workbench.colorCustomizations": {}, "workbench.colorCustomizations": {},
"[typescriptreact]": { "[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode" "editor.defaultFormatter": "esbenp.prettier-vscode"
}, },
"[typescript]": { "[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode" "editor.defaultFormatter": "esbenp.prettier-vscode"
}, },
"[json]": { "[c]": {
"editor.defaultFormatter": "llvm-vs-code-extensions.vscode-clangd"
},
"[cpp]": {
"editor.defaultFormatter": "xaver.clang-format"
},
"[css]": {
"editor.defaultFormatter": "esbenp.prettier-vscode" "editor.defaultFormatter": "esbenp.prettier-vscode"
}, },
"[jsonc]": { "[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode" "editor.defaultFormatter": "esbenp.prettier-vscode"
}, },
"[javascript]": { "[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode" "editor.defaultFormatter": "esbenp.prettier-vscode"
}, },
"workbench.activityBar.location": "hidden", "[jsonc]": {
"github.copilot.enable": { "editor.defaultFormatter": "esbenp.prettier-vscode"
"*": false,
"plaintext": false,
"markdown": false,
"scminput": false
}, },
"cmake.showOptionsMovedNotification": false,
"window.autoDetectColorScheme": true,
"window.zoomLevel": -1,
"haskell.manageHLS": "GHCup",
"window.customTitleBarVisibility": "auto"
} }

File diff suppressed because one or more lines are too long

@ -5,8 +5,8 @@ local M = {}
local highlights = require "custom.highlights" local highlights = require "custom.highlights"
M.ui = { M.ui = {
theme = "yoru", theme = "gruvchad",
theme_toggle = { "yoru", "one_light" }, theme_toggle = { "gruvchad", "gruvbox_light" },
hl_override = highlights.override, hl_override = highlights.override,
hl_add = highlights.add, hl_add = highlights.add,

@ -8,15 +8,15 @@ local plugins = {
{ {
"neovim/nvim-lspconfig", "neovim/nvim-lspconfig",
config = function() config = function()
require "plugins.configs.lspconfig" require("plugins.configs.lspconfig")
require "custom.configs.lspconfig" require("custom.configs.lspconfig")
end, -- Override to setup mason-lspconfig end, -- Override to setup mason-lspconfig
}, },
-- override plugin configs -- override plugin configs
{ {
"williamboman/mason.nvim", "williamboman/mason.nvim",
opts = overrides.mason opts = overrides.mason,
}, },
{ {
@ -43,7 +43,7 @@ local plugins = {
-- for users those who want auto-save conform + lazyloading! -- for users those who want auto-save conform + lazyloading!
-- event = "BufWritePre" -- event = "BufWritePre"
config = function() config = function()
require "custom.configs.conform" require("custom.configs.conform")
end, end,
}, },
@ -60,6 +60,24 @@ local plugins = {
end end
}, },
{
"nvim-treesitter/nvim-treesitter",
dependencies = {
"JoosepAlviste/nvim-ts-context-commentstring",
},
opts = overrides.treesitter,
},
{
"numToStr/Comment.nvim",
dependencies = "JoosepAlviste/nvim-ts-context-commentstring",
config = function()
require("Comment").setup({
pre_hook = require("ts_context_commentstring.integrations.comment_nvim").create_pre_hook(),
})
end,
},
-- To make a plugin not be loaded -- To make a plugin not be loaded
-- { -- {
-- "NvChad/nvim-colorizer.lua", -- "NvChad/nvim-colorizer.lua",

@ -38,3 +38,5 @@ alias cr="cd_gitroot"
alias dev="cd $HOME/Projects/almtech/ingenuity/" alias dev="cd $HOME/Projects/almtech/ingenuity/"
alias dc="docker-compose" alias dc="docker-compose"
alias dots="cd $HOME/.dotfiles/"

Loading…
Cancel
Save