File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11" Vim auto-load script
22" Author: Peter Odding <peter@peterodding.com>
3- " Last Change: September 17 , 2010
3+ " Last Change: September 19 , 2010
44" URL: http://peterodding.com/code/vim/shell/
55
66if ! exists (' s:script' )
@@ -13,14 +13,14 @@ endif
1313function ! xolox#shell#open_cmd (arg) " -- implementation of the :Open command {{{1
1414 if a: arg !~ ' \S'
1515 if ! s: open_at_cursor ()
16- call xolox#open#shell (expand (' %:p:h' ))
16+ call xolox#open#file (expand (' %:p:h' ))
1717 endif
1818 elseif a: arg = ~ g: shell_patt_url || a: arg = ~ g: shell_patt_mail
1919 call xolox#open#url (a: arg )
2020 else
2121 let arg = fnamemodify (a: arg , ' :p' )
2222 if isdirectory (arg) || filereadable (arg)
23- call xolox#open#shell (arg)
23+ call xolox#open#file (arg)
2424 else
2525 let msg = " %s: I don't know how to open %s!"
2626 echoerr printf (msg, s: script , string (a: arg ))
@@ -52,7 +52,7 @@ function! s:open_at_cursor()
5252 let match = expand (match )
5353 endif
5454 if match != ' ' && (isdirectory (match ) || filereadable (match ))
55- call xolox#open#shell (match )
55+ call xolox#open#file (match )
5656 endif
5757 endif
5858endfunction
Original file line number Diff line number Diff line change 11" Vim plug-in
22" Author: Peter Odding <peter@peterodding.com>
3- " Last Change: September 18 , 2010
3+ " Last Change: September 19 , 2010
44" URL: http://peterodding.com/code/vim/shell/
55" License: MIT
6- " Version: 0.8
6+ " Version: 0.8.1
77
88" Support for automatic update using the GLVS plug-in.
99" GetLatestVimScripts: 3123 1 :AutoInstall: shell.zip
You can’t perform that action at this time.
0 commit comments