LoginSignup
11
15

More than 5 years have passed since last update.

vimrcを書くのが面倒なら Ultimate vimrc を導入してみよう

Last updated at Posted at 2017-07-30

Ultimate vimrc とは

The Ultimate vimrc

Amir Salihefendic 氏 が配布している ぼくのかんがえたさいきょうのvimrc です

導入

以下の Basic もしくは Awasome のどちらかをインストールします

basic (基本版) インストール

# git clone --depth=1 git://github.com/amix/vimrc.git ~/.vim_runtime
# sh ~/.vim_runtime/install_basic_vimrc.sh

Awasome (拡張版) インストール

# git clone --depth=1 https://github.com/amix/vimrc.git ~/.vim_runtime
# sh ~/.vim_runtime/install_awesome_vimrc.sh

使用感

これから

インストール後に顔文字が出てかわいい

# sh ~/.vim_runtime/install_awesome_vimrc.sh
Installed the Ultimate Vim configuration successfully! Enjoy :-)

警告対策

(2018.01.07 追記)

Awasome版をインストールすると、Vimを起動するたびに警告が表示されるようになった。

$ vim hoge
vim-go requires Vim 7.4.1689 or Neovim, but you're using an older version.
Please update your Vim for the best vim-go experience.
If you really want to continue you can set this to make the error go away:
    let g:go_version_warning = 0
Note that some features may error out or behave incorrectly.
Please do not report bugs unless you're using Vim 7.4.1689 or newer.
続けるにはENTERを押すかコマンドを入力してください

プラグインのバージョン衝突っぽい

警告どおりのパラメータを、ユーザー設定 .vim_runtime/my_configs.vim にセット

echo "let g:go_version_warning = 0" >> ~/.vim_runtime/my_configs.vim

警告が出なくなります👐 ※根本的な対策ではありません

11
15
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
11
15