Last active
December 13, 2015 21:09
-
-
Save mattn/4975267 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function! s:dash(...) | |
let word = len(a:000) == 0 ? input('Dash search: ') : a:1 | |
call system(printf("open dash://'%s'", word)) | |
endfunction | |
command! -nargs=? Dash call <SID>dash(<f-args>) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See also: http://qiita.com/items/292e99a521a9653e75fb