make vscode nicer; install rust-src; change btrbk stuff
This commit is contained in:
parent
6519ab7f06
commit
bba29fa1ea
3 changed files with 24 additions and 5 deletions
|
@ -29,7 +29,7 @@
|
|||
"editor.fontSize" = 15;
|
||||
"window.zoomLevel" = 0.5;
|
||||
|
||||
# vim mode settings
|
||||
# vim stuff
|
||||
"vim.leader" = ",";
|
||||
"vim.normalModeKeyBindings" = [
|
||||
{
|
||||
|
@ -65,6 +65,20 @@
|
|||
"before" = [ "<leader>" "f" "t"];
|
||||
"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" = [
|
||||
{
|
||||
|
@ -103,6 +117,9 @@
|
|||
# don't let the workbench handle terminal keys like ctrl+n and friends
|
||||
"terminal.integrated.sendKeybindingsToShell" = true;
|
||||
"terminal.integrated.allowChords" = false;
|
||||
|
||||
"security.promptForLocalFileProtocolHandling" = false;
|
||||
"security.promptForRemoteFileProtocolHandling" = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -54,7 +54,9 @@
|
|||
yarn
|
||||
rclone
|
||||
go
|
||||
(rust-bin.selectLatestNightlyWith (toolchain: toolchain.default))
|
||||
(rust-bin.selectLatestNightlyWith (toolchain: toolchain.default.override {
|
||||
extensions = [ "rust-src" ];
|
||||
}))
|
||||
pwgen
|
||||
lua-language-server
|
||||
gnumake
|
||||
|
|
|
@ -232,9 +232,9 @@
|
|||
snapshotOnly = true;
|
||||
settings = {
|
||||
snapshot_preserve_min = "latest";
|
||||
target_preserve = "*d";
|
||||
target_preserve_min = "no";
|
||||
target = "/mnt/external/btr_backup/ytnix";
|
||||
target_preserve = "30d";
|
||||
target_preserve_min = "2d";
|
||||
target = "/mnt/target/btr_backup/ytnix";
|
||||
stream_compress = "zstd";
|
||||
stream_compress_level = "8";
|
||||
snapshot_dir = "/snapshots";
|
||||
|
|
Loading…
Add table
Reference in a new issue