From 2447c42f9abb97ae388704ca72ea98dbd20b67ba Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Sat, 22 Feb 2020 15:12:45 -0500 Subject: [PATCH] Activate spell check for drafts shortcut --- home/.xbindkeysrc | 4 ++-- home/lib/login_aliases.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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' -- 2.20.1