@@ -14,14 +14,14 @@ function! xolox#shell#open_cmd(arg) " -- implementation of the :Open command {{{
1414 try
1515 if a: arg !~ ' \S'
1616 if ! s: open_at_cursor ()
17- call xolox#open#file (expand (' %:p:h' ))
17+ call xolox#misc# open#file (expand (' %:p:h' ))
1818 endif
1919 elseif a: arg = ~ g: shell_patt_url || a: arg = ~ g: shell_patt_mail
20- call xolox#open#url (a: arg )
20+ call xolox#misc# open#url (a: arg )
2121 else
2222 let arg = fnamemodify (a: arg , ' :p' )
2323 if isdirectory (arg) || filereadable (arg)
24- call xolox#open#file (arg)
24+ call xolox#misc# open#file (arg)
2525 else
2626 let msg = " %s: I don't know how to open %s!"
2727 echoerr printf (msg, s: script , string (a: arg ))
@@ -43,7 +43,7 @@ function! s:open_at_cursor()
4343 let match = matchstr (cWORD, g: shell_patt_mail )
4444 endif
4545 if match != ' '
46- call xolox#open#url (match )
46+ call xolox#misc# open#url (match )
4747 return 1
4848 else
4949 " As a last resort try to match a filename at the text cursor position.
@@ -56,7 +56,7 @@ function! s:open_at_cursor()
5656 let match = split (expand (match ), " \n " )[0 ]
5757 endif
5858 if match != ' ' && (isdirectory (match ) || filereadable (match ))
59- call xolox#open#file (match )
59+ call xolox#misc# open#file (match )
6060 return 1
6161 endif
6262 endif
0 commit comments