VIM: .vimrc 在 Mint13 XFCE 上没有按预期工作,在 MacVim 上工作
VIM: .vimrc not working as expected on Mint13 XFCE, works on MacVim
Vim-这里是新手...
我一直在使用 Mac.
在工作中学习 vim
我将我的 .vimrc 添加到我的 github 存储库并期望 Vundle
下载所有内容并让 vim 在我家的 Mint 13 笔记本电脑上同样工作。
我已将我的 ~/.vim/.vimrc 链接到 ~/.vimrc。
我按照 these 构建 vim 7.4 的说明进行了操作 vim.
我知道 .vimrc 文件的某些部分已被读取,b/c 我的
重新映射的 esc 序列正在运行。
其他似乎都不起作用,甚至行号也不行。
vim --版本
vim --版本
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咬了。
This link 给了我需要的提示,设置我的终端
搭配:
set t_Co=256
现在除了配色方案外,更多功能都如我所愿
jellybeans 不再那么棒了。
Rainbowparens 不工作。
编辑:
使用更多的颜色可以让彩虹括号发挥作用...
set t_Co=512
Vim-这里是新手... 我一直在使用 Mac.
在工作中学习 vim我将我的 .vimrc 添加到我的 github 存储库并期望 Vundle 下载所有内容并让 vim 在我家的 Mint 13 笔记本电脑上同样工作。
我已将我的 ~/.vim/.vimrc 链接到 ~/.vimrc。 我按照 these 构建 vim 7.4 的说明进行了操作 vim.
我知道 .vimrc 文件的某些部分已被读取,b/c 我的 重新映射的 esc 序列正在运行。
其他似乎都不起作用,甚至行号也不行。
vim --版本
vim --版本
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咬了。
This link 给了我需要的提示,设置我的终端 搭配:
set t_Co=256
现在除了配色方案外,更多功能都如我所愿 jellybeans 不再那么棒了。
Rainbowparens 不工作。
编辑: 使用更多的颜色可以让彩虹括号发挥作用...
set t_Co=512