簡體   English   中英

VIM:.vimrc在Mint13 XFCE上沒有按預期工作,適用於MacVim

[英]VIM: .vimrc not working as expected on Mint13 XFCE, works on MacVim

Vim-newbie在這里......我一直在使用Mac學習vim。

我將我的.vimrc添加到我的github repo中,並期望Vundle下載所有內容並讓vim在我的家用Mint 13筆記本電腦上運行相同。

我已將〜/ .vim / .vimrc鏈接到〜/ .vimrc。 我按照這些說明構建了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

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

這個鏈接給了我需要的提示,設置我的終端colos:

set t_Co=256

現在有更多的功能正如我預期的那樣工作,除了顏色方案軟糖不再那么好。

Rainbowparens沒有工作。

編輯:使用更多的顏色允許彩虹parens工作...

set t_Co=512

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM