一些vim航空公司的主题不起作用

时间:2016-03-19 17:34:39

标签: vim vundle vim-airline

我使用Vundle安装了vim-airlines及其主题。我将.vimrc更改为以下格式:

set nocompatible              " be iMproved, required
filetype off                  " required

" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
" call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
call vundle#begin('~/.vim/vundle_plugins')

" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'

" vim js plugin
Plugin 'pangloss/vim-javascript'

" auto complete
Plugin 'valloric/youcompleteme'

" file explorer
Plugin 'kien/ctrlp.vim'

Plugin 'tpope/vim-surround'

Plugin 'tpope/vim-fugitive'

Plugin 'bling/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
" Plugin 'vim-airline/vim-airline'

" 
call vundle#end()            " required

" nmap <F8> :TagbarToggle<CR>
let g:airline_theme= 'wombat'
if !exists('g:airline_symbols')
    let g:airline_symbols = {}
endif

" unicode symbols
let g:airline_left_sep = '»'
let g:airline_left_sep = '▶'
let g:airline_right_sep = '«'
let g:airline_right_sep = '◀'
let g:airline_symbols.linenr = '␊'
let g:airline_symbols.linenr = '␤'
let g:airline_symbols.linenr = '¶'
let g:airline_symbols.branch = '⎇'
let g:airline_symbols.paste = 'ρ'
let g:airline_symbols.paste = 'Þ'
let g:airline_symbols.paste = '∥'
let g:airline_symbols.whitespace = 'Ξ'
set laststatus=2
"set background=light

filetype plugin indent on    " required

但没有任何反应。我的意思是下面的图片:

My terminal pic

即使退出vim并重新打开它,也没有主题更改。我安装了两个&#39; vim-airline&#39;和vim-airline-theme今天。所以它们是最新的。

感谢任何评论。

更新

  • 我使用64位Linux Mint 17
  • Vim版本7.4

1 个答案:

答案 0 :(得分:2)

有同样的问题。

只需将此行添加到.bashrc / .zshrc文件中:$ sed -i 's/TYPE=InnoDB/ENGINE=InnoDB/g' database_name.sql