From b7f9c894dbdbf584abba590d48c2f84fcb8adc8f Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Fri, 7 Jan 2022 12:21:58 -0500 Subject: [PATCH] Auto-open file tree view on drafts --- home/.xbindkeysrc | 2 +- home/lib/login_aliases.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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' -- 2.20.1