1
0
mirror of https://github.com/amix/vimrc synced 2025-07-07 00:15:00 +08:00
This commit is contained in:
plrectco
2019-10-09 10:37:51 -07:00
parent 2dad1083fd
commit 43044da05f
2 changed files with 23 additions and 1 deletions

View File

@ -110,8 +110,9 @@ endfunction
" eg. you can go to //ads/video.txt wherever you are inside
" citc by :e //ads/video/.txt.
function GoogleE(...)
" if the number of argument is not 0
if a:0
let l:filepath = a:0
let l:filepath = a:1
let l:citc = GetCitCPath()
let l:dst_filepath = GetGoogle3Path(l:filepath, l:citc)
execute 'e '. l:dst_filepath