Stebalien/vim-config — Issue #2: And what does this map do ??? :)
Author: jinleileiking
Created: 2011-12-02 01:09:40+00:00
State: open

fun Ranger()
silent !ranger --choosefile=/tmp/chosen
if filereadable('/tmp/chosen')
exec 'edit ' . system('cat /tmp/chosen')
call system('rm /tmp/chosen')
endif
redraw!
endfun
map :call Ranger()