From: Siraaj Khandkar Date: Sat, 10 Oct 2020 14:02:51 +0000 (-0400) Subject: Use drafts directory X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=96d30cbc4559b46900f43f72c0450258f5c099cf;p=khome.git Use drafts directory --- diff --git a/home/.xbindkeysrc b/home/.xbindkeysrc index bf732d6..b3c9438 100644 --- a/home/.xbindkeysrc +++ b/home/.xbindkeysrc @@ -141,7 +141,7 @@ Mod4 + t "gvim ~/Documents/ideas.md" Mod4 + i -"gvim ~/Documents/drafts.md" +"cd ~/Documents/drafts && gvim drafts.md" Mod4 + d "gvim ~/Documents/bookmarks.md" Mod4 + b diff --git a/home/lib/login_aliases.sh b/home/lib/login_aliases.sh index ea00f8b..f4d4ed7 100644 --- a/home/lib/login_aliases.sh +++ b/home/lib/login_aliases.sh @@ -11,5 +11,5 @@ alias tm='tmux' #alias startx='printf "Use a specialized startx-...\n"' alias mans='man $(man -k . | sort | fzf -e | awk "{print \$1}")' alias twread='twtxt timeline --limit 1000 | less' -alias todo='cd ~/Documents/TODO && vim -c NERDTreeFind TODO.md' # .md filetype is already set to activate spell check -alias drafts='gvim -c "set spell" ~/Documents/drafts.md' +alias todo='cd ~/Documents/TODO && vim -c NERDTreeFind TODO.md' +alias drafts='cd ~/Documents/drafts && vim drafts.md'