Edit Page
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 24: | Line 24: | ||
<small><small>(This function was minimally adapted from version 2.5 of genutils.vim, released 2009-09-17, still most current as of 2014-01-08)</small></small> |
<small><small>(This function was minimally adapted from version 2.5 of genutils.vim, released 2009-09-17, still most current as of 2014-01-08)</small></small> |
||
<source lang="vim"> |
<source lang="vim"> |
||
− | " function wrapper for :execute (an Ex command that runs Ex commands) |
||
− | " adapted from genutils.vim 2.5 ( http://www.vim.org/scripts/script.php?script_id=197 ) |
||
function! GetVimCmdOutput(cmd) |
function! GetVimCmdOutput(cmd) |
||
let v:errmsg = '' |
let v:errmsg = '' |
||
Line 45: | Line 43: | ||
return output |
return output |
||
endfunction |
endfunction |
||
− | " shorthand Exe() |
||
− | let Exe=function('GetVimCmdOutput') |
||
</source> |
</source> |
||