vault backup: 2025-03-24 12:43:09

This commit is contained in:
Dane Sabo 2025-03-24 12:43:09 -04:00
parent 60ad6fba65
commit 4918a71269
3 changed files with 13 additions and 7 deletions

View File

@ -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

View File

@ -0,0 +1,8 @@
---
title: Lunch
allDay: false
startTime: 12:00
endTime: 13:00
date: 2025-03-24
completed: null
---

View File

@ -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" )