This commit is contained in:
Barak Michener 2024-05-18 18:50:38 -07:00
parent f0510126ba
commit 7a7c647c22
212 changed files with 30625 additions and 30625 deletions

18
dot_vim/charm.vim Normal file
View file

@ -0,0 +1,18 @@
fu! SendToCharm(subject,mood)
if a:subject == ""
let subject=input("Subject: ")
else
let subject=a:subject
endif
if a:mood == ""
let mood=input("Mood: ")
else
let mood=a:mood
endif
exe "w!"
exe "!cat % | charm -q -s \"".subject."\" -m \"".mood."\""
endf
if !exists(":PostToLJ")
command PostToLJ :call SendToCharm("","")
endif