Activate spell check for drafts shortcut
authorSiraaj Khandkar <siraaj@khandkar.net>
Sat, 22 Feb 2020 20:12:45 +0000 (15:12 -0500)
committerSiraaj Khandkar <siraaj@khandkar.net>
Sat, 22 Feb 2020 20:12:45 +0000 (15:12 -0500)
home/.xbindkeysrc
home/lib/login_aliases.sh

index 5db8214..7d7a84d 100644 (file)
 "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
index 2837d7e..c26a795 100644 (file)
@@ -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'
This page took 0.020416 seconds and 4 git commands to generate.