From e16d0e5d1115c5ac3600fc28086cbf1a343e109e Mon Sep 17 00:00:00 2001 From: Joshua Yuen Date: Sun, 21 Jun 2026 00:02:32 -0400 Subject: [PATCH] Add vim-stye relative lines in VSCodium --- modules/homes/vscodium.nix | 47 ++++++++++++++++++++++---------------- 1 file changed, 27 insertions(+), 20 deletions(-) diff --git a/modules/homes/vscodium.nix b/modules/homes/vscodium.nix index 75e0901..2ab1c06 100644 --- a/modules/homes/vscodium.nix +++ b/modules/homes/vscodium.nix @@ -6,25 +6,32 @@ programs.vscode = { enable = true; package = pkgs.vscodium; - profiles.default.extensions = - with pkgs.vscode-extensions; - with pkgs.vscode-marketplace; - [ - amazonwebservices.aws-toolkit-vscode - arrterian.nix-env-selector - christian-kohler.path-intellisense - eamodio.gitlens - esbenp.prettier-vscode - jnoortheen.nix-ide - leonardssh.vscord - mkhl.direnv - ms-python.debugpy - ms-python.python - opentofu.vscode-opentofu - redhat.ansible - redhat.vscode-yaml - rvest.vs-code-prettier-eslint - vscodevim.vim - ]; + profiles.default = { + extensions = + with pkgs.vscode-extensions; + with pkgs.vscode-marketplace; + [ + amazonwebservices.aws-toolkit-vscode + arrterian.nix-env-selector + christian-kohler.path-intellisense + eamodio.gitlens + esbenp.prettier-vscode + jnoortheen.nix-ide + leonardssh.vscord + mkhl.direnv + ms-python.debugpy + ms-python.python + opentofu.vscode-opentofu + redhat.ansible + redhat.vscode-yaml + rvest.vs-code-prettier-eslint + vscodevim.vim + ]; + + userSettings = { + "editor.stickyScroll.maxLineCount" = 10; + "vim.smartRelativeLine" = true; + }; + }; }; }