使用winmanger插件中发现其中引用的fileexplorer不能自动更新到当前文件夹。
将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
本文介绍了一个WinManager插件中FileExplorer无法自动更新到当前文件夹的问题,并提供了修改winfileexplorer.vim中FileExplorer_Start()函数的具体方法。
2982

被折叠的 条评论
为什么被折叠?



