From e5c16600fc05c5d157cc317244eac2732aa361f7 Mon Sep 17 00:00:00 2001
From: tavo-wasd <gustavo@gustavocalvo.xyz>
Date: Wed, 18 Oct 2023 16:48:04 -0600
Subject: [PATCH] couple fixes

---
 scripts/menu/menu-bookmarks       | 2 +-
 vim/view/~=+Documents=+bookmarks= | 5 ++---
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/scripts/menu/menu-bookmarks b/scripts/menu/menu-bookmarks
index 2d002a0..e3c3dd0 100755
--- a/scripts/menu/menu-bookmarks
+++ b/scripts/menu/menu-bookmarks
@@ -3,7 +3,7 @@
 BOOKMARKS="$HOME/Documents/bookmarks"
 
 # Print site names, then get URL based on the name. Exit if empty
-name="$(grep -v '^Watch\slater:\s.*' "$BOOKMARKS" | sed '/^\s*$/d;/^#.*$/d;s/-.*$//g' | menu "Site:")"
+name="$(sed '/^Watch\slater:\s/d;/^\s*$/d;/^#/d;s/-.*$//g' "$BOOKMARKS" | menu "Site:")"
 [ -z "$name" ] && exit
 
 grep "$name" $BOOKMARKS | sed -z 's/^.*-//g;s/\n//g' |
diff --git a/vim/view/~=+Documents=+bookmarks= b/vim/view/~=+Documents=+bookmarks=
index 68621fd..bd6aa35 100644
--- a/vim/view/~=+Documents=+bookmarks=
+++ b/vim/view/~=+Documents=+bookmarks=
@@ -19,13 +19,12 @@ silent! normal! zE
 85,87fold
 88,90fold
 91,97fold
-106,111fold
 let &fdl = &fdl
-let s:l = 116 - ((68 * winheight(0) + 23) / 47)
+let s:l = 107 - ((59 * winheight(0) + 23) / 47)
 if s:l < 1 | let s:l = 1 | endif
 keepjumps exe s:l
 normal! zt
-keepjumps 116
+keepjumps 107
 normal! 0
 let &g:so = s:so_save | let &g:siso = s:siso_save
 set hlsearch