Vim winmanager文件浏览自动更新
生活随笔
收集整理的這篇文章主要介紹了
Vim winmanager文件浏览自动更新
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
使用winmanger插件中發(fā)現(xiàn)其中引用的fileexplorer不能自動(dòng)更新到當(dāng)前文件夾。
? ?
? ? 將vim/plugin/winfileexplorer.vim 中的函數(shù)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
總結(jié)
以上是生活随笔為你收集整理的Vim winmanager文件浏览自动更新的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Apache Kylin从入门到精通
- 下一篇: m3u8下载ts 合并成一个视频