From: Siraaj Khandkar Date: Sat, 22 Feb 2020 20:12:45 +0000 (-0500) Subject: Activate spell check for drafts shortcut X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=2447c42f9abb97ae388704ca72ea98dbd20b67ba;p=khome.git Activate spell check for drafts shortcut --- diff --git a/home/.xbindkeysrc b/home/.xbindkeysrc index 5db8214..7d7a84d 100644 --- a/home/.xbindkeysrc +++ b/home/.xbindkeysrc @@ -114,7 +114,7 @@ "video-catalog-play" Mod4+v -"gvim ~/TODO.md" +"gvim ~/TODO.md" # .md filetype is already set to activate spell check alt + shift + t -"gvim ~/Documents/Drafts.txt" +"gvim -c 'set spell' ~/Documents/Drafts.txt" alt + shift + d diff --git a/home/lib/login_aliases.sh b/home/lib/login_aliases.sh index 2837d7e..c26a795 100644 --- a/home/lib/login_aliases.sh +++ b/home/lib/login_aliases.sh @@ -12,5 +12,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='vim ~/TODO.md' -alias drafts='gvim ~/Documents/Drafts.txt' +alias todo='vim ~/TODO.md' # .md filetype is already set to activate spell check +alias drafts='gvim -c 'set spell' ~/Documents/Drafts.txt'