From: Siraaj Khandkar Date: Fri, 7 Jan 2022 17:21:58 +0000 (-0500) Subject: Auto-open file tree view on drafts X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=b7f9c894dbdbf584abba590d48c2f84fcb8adc8f;p=khome.git Auto-open file tree view on drafts --- diff --git a/home/.xbindkeysrc b/home/.xbindkeysrc index f22df3f..29d7ba8 100644 --- a/home/.xbindkeysrc +++ b/home/.xbindkeysrc @@ -143,7 +143,7 @@ Mod4 + t "cd ~/doc/ideas && gvim ideas.md" Mod4 + i -"cd ~/doc/drafts && drafts_prepend && gvim drafts.md" +"cd ~/doc/drafts && drafts_prepend && gvim -c NERDTreeFind drafts.md" Mod4 + d "cd ~/doc/notes && notes_prepend && gvim notes.md" Mod4 + n diff --git a/home/lib/login_aliases.sh b/home/lib/login_aliases.sh index 91c2aee..71fed9b 100644 --- a/home/lib/login_aliases.sh +++ b/home/lib/login_aliases.sh @@ -18,7 +18,7 @@ alias mans='man $(man -k . | sort | fzf -e | awk "{print \$1}")' alias twread='twtxt timeline --limit 1000 | less' alias todo='cd ~/doc/TODO && vim TODO.md' alias work_todo="cd $DIR_WORK/docs/TODO && vim -c NERDTreeFind TODO.txt" -alias drafts='cd ~/doc/drafts && drafts_prepend && vim drafts.md' +alias drafts='cd ~/doc/drafts && drafts_prepend && vim -c NERDTreeFind drafts.md' alias notes='cd ~/doc/notes && notes_prepend && vim notes.md' alias bookmarks='cd ~/doc/bookmarks && vim bookmarks.md' alias ideas='cd ~/doc/ideas && vim ideas.md'