VIM:.vimrc在Mint13 XFCE上没有按预期工作,适用于MacVim

时间:2015-02-26 04:41:05

标签: vim vundle

Vim-新手在这里...... 我一直在使用Mac学习vim。

我将.vimrc添加到我的github repo并期望Vundle 下载所有内容,让我的家用Mint 13笔记本电脑上的vim也一样。

我已将〜/ .vim / .vimrc链接到〜/ .vimrc。 我按照these指示构建vim 7.4并使用了vim。

我知道.vimrc文件的某些部分是读取的,b / c我的 重新映射的esc序列正在工作。

似乎没有其他工作,甚至没有行号。

vim --version

vim --version

VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Feb 25 2015 20:30:46)
Included patches: 1-640

的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


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

" Keep Plugin commands between vundle#begin/end.
Bundle 'nanotech/jellybeans.vim'
Bundle 'tpope/vim-fugitive'
Bundle 'flazz/vim-colorschemes'
Bundle 'fs111/pydoc.vim'
Bundle 'hdima/python-syntax'
Bundle 'scrooloose/nerdtree'
Bundle 'tmhedberg/SimpylFold'
Bundle 'scrooloose/syntastic'
Bundle 'kien/rainbow_parentheses.vim'
call vundle#end()            " required

filetype plugin indent on    " required
syntax enable
set foldmethod=indent
set foldlevel=99
setlocal foldmethod=indent

set background=dark
set tabstop=4
set expandtab
set shiftwidth=4
set shiftround
set number
let mapleader=","
set hlsearch
set mouse=a
set nojoinspaces
set smarttab

nnoremap <leader>n :NERDTree<CR>
imap fj <Esc> 
colorscheme jellybeans 
" rainbow parens
au VimEnter * RainbowParenthesesToggle
au Syntax * RainbowParenthesesLoadRound
au Syntax * RainbowParenthesesLoadSquare
au Syntax * RainbowParenthesesLoadBraces

1 个答案:

答案 0 :(得分:0)

看来,我再一次被XFCE咬了。

This link给了我需要的提示,设置我的终端 colos with:

set t_Co=256

现在除了颜色方案之外,更多功能正如我预期的那样工作 豆蔻不再那么棒了。

Rainbowparens没有工作。

编辑: 使用更多颜色可以让彩虹parens工作......

set t_Co=512
相关问题