下载vimconfig.tar.tgz,将文件拷贝到ubuntu, 执行下面命令:
tar zxvf vimconfig.tar.tgz
cd vimconfig
cp .* ~/ -rvf
部分配置情况:
"-------------TagList---------------
"设置ctags路径
let Tlist_Ctags_Cmd = '/usr/bin/ctags'
"设置taglist窗口大小
let Tlist_WinHeight = 100
let Tlist_WinWidth = 40
filetype plugin indent on "打开文件类型检查
let Tlist_Ctags_Cmd = '/usr/bin/ctags' "设定系统中ctags程序的位置
let Tlist_Show_One_File = 1 "不同时显示多个文件的tag,只显示当前文件
let Tlist_Exit_OnlyWindow = 1 "如果taglist窗口是最后一个,则退出vim
map :TlistToggle "按F9等同于在命令行TlistToggle
let Tlist_Use_Right_Window=1 "右侧显示
"set Tlist=TlistToggleTlis
let Tlist_Use_SingleClick=1
let Tlist_Auto_Open=0
let Tlist_Fold_Auto_Close=1
""-----------------------------NERDTree插件配置开始---------------------------------
let NERDTreeShowBookmarks=1
" NerdTree才插件的配置信息
" 将F10设置为开关NERDTree的快捷键
map :NERDTreeToggle
" 修改树的显示图标
" let g:NERDTreeDirArrowExpandable = '+'
" let g:NERDTreeDirArrowCollapsible = '-'
" 窗口位置
let g:NERDTreeWinPos='left'
" 窗口尺寸
let g:NERDTreeSize=45
" 窗口是否显示行号
let g:NERDTreeShowLineNumbers=1
" 不显示隐藏文件
let g:NERDTreeHidden=0
"修改树的显示图标
let g:NERDTreeDirArrowExpandable = '►'
let g:NERDTreeDirArrowCollapsible = '▼'
let NERDTreeAutoCenter=1
1