First import
git-svn-id: http://photonzero.com/dotfiles/trunk@1 23f722f6-122a-0410-8cef-c75bd312dd78
This commit is contained in:
commit
83d40113d2
60 changed files with 4264 additions and 0 deletions
18
.vim/charm.vim
Normal file
18
.vim/charm.vim
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue