VIM IDE搭建(四)--miniBufexplorer
阿新 • • 發佈:2019-02-11
1.miniBufexplorer 為vim外掛,直接解壓拷貝到相關目錄即可,
下載官方地址:
http://www.vim.org/scripts/script.php?script_id=159
minibufexpl.vim
將minibufexpl.vim 拷貝到 $HOME/.vim/plugin目錄下
2.$HOME/.vimrc 中新增如下配置
let g:miniBufExplMapWindowNavVim = 1
let g:miniBufExplMapWindowNavArrows = 1
let g:miniBufExplMapCTabSwitchBufs = 1
let g:miniBufExplModSelTarget = 1
3.解決FileExplorer視窗變小問題 須在$HOME/.vimrc中新增:
"解決FileExplorer視窗變小問題
let g:bufExplorerMaxHeight=30
下載官方地址:
http://www.vim.org/scripts/script.php?script_id=159
minibufexpl.vim
將minibufexpl.vim 拷貝到 $HOME/.vim/plugin目錄下
2.$HOME/.vimrc 中新增如下配置
let g:miniBufExplMapWindowNavVim = 1
let g:miniBufExplMapWindowNavArrows = 1
let g:miniBufExplMapCTabSwitchBufs = 1
let g:miniBufExplModSelTarget = 1
3.解決FileExplorer視窗變小問題 須在$HOME/.vimrc中新增:
"解決FileExplorer視窗變小問題
let g:bufExplorerMaxHeight=30
let g:miniBufExplorerMoreThanOne=0
相關設定:
"""""""""""""""""""""""""""""" " miniBufexplorer Config """""""""""""""""""""""""""""" let g:miniBufExplMapWindowNavArrows = 1 let g:miniBufExplMapWindowNavVim = 1 let g:miniBufExplMapCTabSwitchWindows = 1 "let g:miniBufExplMapCTabSwitchBufs = 1 let g:miniBufExplModSelTarget = 1 "解決FileExplorer視窗變小問題 let g:miniBufExplForceSyntaxEnable = 1 let g:miniBufExplorerMoreThanOne=2