make vscode nicer; install rust-src; change btrbk stuff

This commit is contained in:
cy 2025-02-28 02:25:51 -05:00
parent 6519ab7f06
commit bba29fa1ea
Signed by: cy
SSH key fingerprint: SHA256:o/geVWV4om1QhUSkKvDQeW/eAihwnjyXkqMwrVdbuts
3 changed files with 24 additions and 5 deletions

View file

@ -29,7 +29,7 @@
"editor.fontSize" = 15; "editor.fontSize" = 15;
"window.zoomLevel" = 0.5; "window.zoomLevel" = 0.5;
# vim mode settings # vim stuff
"vim.leader" = ","; "vim.leader" = ",";
"vim.normalModeKeyBindings" = [ "vim.normalModeKeyBindings" = [
{ {
@ -65,6 +65,20 @@
"before" = [ "<leader>" "f" "t"]; "before" = [ "<leader>" "f" "t"];
"commands" = [ "find-it-faster.findWithinFilesWithType"]; "commands" = [ "find-it-faster.findWithinFilesWithType"];
} }
# "gd" for definitions is by default
{
"before" = [ "g" "r" ];
"commands" = [ "editor.action.goToReferences" ];
}
# the default is weird when you need to go back within a file
{
"before" = [ "C-o" ];
"commands" = [ "workbench.action.navigateBack" ];
}
{
"before" = [ "C-i" ];
"commands" = [ "workbench.action.navigateForward" ];
}
]; ];
"vim.insertModeKeyBindings" = [ "vim.insertModeKeyBindings" = [
{ {
@ -103,6 +117,9 @@
# don't let the workbench handle terminal keys like ctrl+n and friends # don't let the workbench handle terminal keys like ctrl+n and friends
"terminal.integrated.sendKeybindingsToShell" = true; "terminal.integrated.sendKeybindingsToShell" = true;
"terminal.integrated.allowChords" = false; "terminal.integrated.allowChords" = false;
"security.promptForLocalFileProtocolHandling" = false;
"security.promptForRemoteFileProtocolHandling" = false;
}; };
}; };
}; };

View file

@ -54,7 +54,9 @@
yarn yarn
rclone rclone
go go
(rust-bin.selectLatestNightlyWith (toolchain: toolchain.default)) (rust-bin.selectLatestNightlyWith (toolchain: toolchain.default.override {
extensions = [ "rust-src" ];
}))
pwgen pwgen
lua-language-server lua-language-server
gnumake gnumake

View file

@ -232,9 +232,9 @@
snapshotOnly = true; snapshotOnly = true;
settings = { settings = {
snapshot_preserve_min = "latest"; snapshot_preserve_min = "latest";
target_preserve = "*d"; target_preserve = "30d";
target_preserve_min = "no"; target_preserve_min = "2d";
target = "/mnt/external/btr_backup/ytnix"; target = "/mnt/target/btr_backup/ytnix";
stream_compress = "zstd"; stream_compress = "zstd";
stream_compress_level = "8"; stream_compress_level = "8";
snapshot_dir = "/snapshots"; snapshot_dir = "/snapshots";