Vim winmanager文件浏览自动更新



Vim winmanager文件浏览自动更新
 
使用winmanger插件中发现其中引用的fileexplorer不能自动更新到当前文件夹。
  www.2cto.com  
将vim/plugin/winfileexplorer.vim 中的函数FileExplorer_Start()
 
function! FileExplorer_Start()
let b:displayMode = "winmanager"
call s:EditDir(getcwd())
" if exists('s:lastDirectoryDisplayed')
" call s:EditDir(s:lastDirectoryDisplayed)
" else
" call s:EditDir(expand("%:p:h"))
" end
" if exists('s:lastCursorRow')
" exe s:lastCursorRow
" exe 'normal! '.s:lastCursorColumn.'|'
" end
endfunction
 

相关内容

    暂无相关文章