From 4918a712699d27e833ca3320d6492f67362fd8c5 Mon Sep 17 00:00:00 2001 From: Dane Sabo Date: Mon, 24 Mar 2025 12:43:09 -0400 Subject: [PATCH] vault backup: 2025-03-24 12:43:09 --- .sessions/Rust_Learning.vim | 10 ++++------ 900s Calendars/Personal/2025-03-24 Lunch.md | 8 ++++++++ reddup.sh | 2 +- 3 files changed, 13 insertions(+), 7 deletions(-) create mode 100644 900s Calendars/Personal/2025-03-24 Lunch.md diff --git a/.sessions/Rust_Learning.vim b/.sessions/Rust_Learning.vim index 70749d2f..aa7117c4 100644 --- a/.sessions/Rust_Learning.vim +++ b/.sessions/Rust_Learning.vim @@ -15,7 +15,7 @@ else endif badd +38 ~/Documents/Dane\'s\ Vault/3-99\ Research/Rust/Chapter\ 2\ -\ Guessing\ Game.md badd +7 Cargo.toml -badd +21 src/main.rs +badd +62 src/main.rs argglobal %argdel edit src/main.rs @@ -38,7 +38,6 @@ set winwidth=1 exe 'vert 1resize ' . ((&columns * 95 + 95) / 190) exe 'vert 2resize ' . ((&columns * 94 + 95) / 190) argglobal -balt Cargo.toml setlocal fdm=manual setlocal fde=0 setlocal fmr={{{,}}} @@ -49,12 +48,12 @@ setlocal fdn=20 setlocal fen silent! normal! zE let &fdl = &fdl -let s:l = 21 - ((20 * winheight(0) + 31) / 62) +let s:l = 36 - ((30 * winheight(0) + 31) / 62) if s:l < 1 | let s:l = 1 | endif keepjumps exe s:l normal! zt -keepjumps 21 -normal! 051| +keepjumps 36 +normal! 010| wincmd w argglobal if bufexists(fnamemodify("Cargo.toml", ":p")) | buffer Cargo.toml | else | edit Cargo.toml | endif @@ -79,7 +78,6 @@ normal! zt keepjumps 7 normal! 014| wincmd w -2wincmd w exe 'vert 1resize ' . ((&columns * 95 + 95) / 190) exe 'vert 2resize ' . ((&columns * 94 + 95) / 190) tabnext 1 diff --git a/900s Calendars/Personal/2025-03-24 Lunch.md b/900s Calendars/Personal/2025-03-24 Lunch.md new file mode 100644 index 00000000..c1f086db --- /dev/null +++ b/900s Calendars/Personal/2025-03-24 Lunch.md @@ -0,0 +1,8 @@ +--- +title: Lunch +allDay: false +startTime: 12:00 +endTime: 13:00 +date: 2025-03-24 +completed: null +--- diff --git a/reddup.sh b/reddup.sh index 56035cfa..de51c5fb 100755 --- a/reddup.sh +++ b/reddup.sh @@ -29,7 +29,7 @@ base_dir="." dirs=() while IFS= read -r -d '' dir; do # Skip directories that are hidden or inside a hidden parent (like .git) - if [[ "$(basename "$dir")" == .* ]] || [[ "$dir" == *"/.git"* ]] || [[ "$dir" == *"/.obsidian"* ]] || [[ "$dir" == *"/src"* ]]; then + if [[ "$(basename "$dir")" == .* ]] || [[ "$dir" == *"/.git"* ]] || [[ "$dir" == *"/.obsidian"* ]] || [[ "$dir" == *"/src"* ]] || [[ "$dir" == *"/target"* ]]; then continue fi dirs+=( "$dir" )