Permalink
Browse files

Cosmetic changes to vimrc.

  • Loading branch information...
1 parent 8b619f9 commit e445172eeeb26b4fa0a4749d3f697e17040f0664 @jgm committed Dec 7, 2010
Showing with 11 additions and 11 deletions.
  1. +11 −11 vimrc
View
@@ -192,12 +192,12 @@ command -nargs=1 Find call SearchWiki(<f-args>)
" Convert markdown buffer to PDF.
-:function Markdown2PDF()
-: let source = bufname("")
-: let basename = expand("%:r")
-: exec ":! markdown2pdf " . source
-: exec ":Utl openLink " . basename . ".pdf"
-:endfunction
+function Markdown2PDF()
+ let source = bufname("")
+ let basename = expand("%:r")
+ exec ":! markdown2pdf " . source
+ exec ":Utl openLink " . basename . ".pdf"
+endfunction
map <Leader>p :call Markdown2PDF()<cr><cr>
@@ -253,11 +253,11 @@ highlight PmenuSel ctermbg=0 ctermfg=4
" potwiki (personal wiki)
let potwiki_home = "$HOME/Wiki/WelcomePage"
-:function UploadICAL()
-: let source = bufname("")
-: let fullname = expand("%")
-: exec ":! icalupload.py " . fullname
-:endfunction
+function UploadICAL()
+ let source = bufname("")
+ let fullname = expand("%")
+ exec ":! icalupload.py " . fullname
+endfunction
map <Leader>ui :call UploadICAL()<cr>

0 comments on commit e445172

Please sign in to comment.