gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-04 21:34:39 27 4
gpt4 key购买 nike

我安装了 vim-airlines及其主题与 Vundle。我将 .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 并重新打开,主题也没有变化。我今天安装了 'vim-airline' 和 vim-airline-theme。所以他们是最新的。

如有任何意见,我们将不胜感激。

更新

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

最佳答案

有同样的问题。

只需将此行添加到您的 .bashrc/.zshrc 文件:export TERM=xterm-256color

关于vim - 一些 vim 航空公司主题不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36104891/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com