Quantcast
Channel: Vimタグが付けられた新着記事 - Qiita
Viewing all articles
Browse latest Browse all 5608

CentOS5に最新版vim(7.4)をビルド

$
0
0

neobundleの動作にはpython2.6が必要っぽい

yum install -y epel-release
yum install -y python-devel lua-devel
ソースからインストール
wget ftp://ftp.vim.org/pub/vim/unix/vim-7.4.tar.bz2
tar xjf vim-7.4.tar.bz2
cd vim74

./configure \
 --enable-multibyte \
 --with-features=huge \
 --enable-luainterp \
 --enable-perlinterp \
 --enable-pythoninterp \
 --with-python-config-dir=/usr/lib64/python2.6/config \
 --enable-rubyinterp \
 --with-ruby-command=/usr/bin/ruby \
 --prefix=$HOME/local

make
make install
$HOME/.bashrcに追加
export PATH=$HOME/local/bin:$PATH
neobundleのインストール
mkdir -p ~/.vim/bundle
git clone https://github.com/Shougo/neobundle.vim ~/.vim/bundle/neobundle.vim
~/.neobundle
" Note: Skip initialization for vim-tiny or vim-small.if!1|finish|endifif has('vim_starting')setnocompatible" Be iMproved" Required:setruntimepath+=~/.vim/bundle/neobundle.vim/endif" Required:call neobundle#begin(expand('~/.vim/bundle/'))" Let NeoBundle manage NeoBundle" Required:
NeoBundleFetch 'Shougo/neobundle.vim'" My Bundles here:" Refer to |:NeoBundle-examples|." Note: You don't set neobundle setting in .gvimrc!call neobundle#end()" Required:filetype plugin indent on"$HOME If there are uninstalled bundles found on startup," this will conveniently prompt you to install them.
NeoBundleCheck
~/.vimrc
source ~/.neobundle

Viewing all articles
Browse latest Browse all 5608

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>