Auto-open file tree view on drafts
authorSiraaj Khandkar <siraaj@khandkar.net>
Fri, 7 Jan 2022 17:21:58 +0000 (12:21 -0500)
committerSiraaj Khandkar <siraaj@khandkar.net>
Fri, 7 Jan 2022 17:21:58 +0000 (12:21 -0500)
home/.xbindkeysrc
home/lib/login_aliases.sh

index f22df3f..29d7ba8 100644 (file)
     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
index 91c2aee..71fed9b 100644 (file)
@@ -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'
This page took 0.031525 seconds and 4 git commands to generate.