Skip to content

Commit

Permalink
added g:mou_dir
Browse files Browse the repository at this point in the history
  • Loading branch information
fundon committed May 7, 2012
1 parent 39ea4cc commit bde9ccd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion plugin/mou.vim
Expand Up @@ -12,8 +12,12 @@ let g:mou_loaded = 1
let s:save_cpo = &cpo
set cpo&vim

if !exists("g:mou_dir")
let g:mou_dir = "Mou.app"
endif

function s:OpenMou()
silent exe "!open -a Mou.app '%:p'"
silent exe "!open -a " . g:mou_dir . " '%:p'"
redraw!
endfunction

Expand Down

0 comments on commit bde9ccd

Please sign in to comment.