いろいろ辛くてvim8を開発用のdockerに入れた
環境
$ cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)
ansible
roles/vim/tasks/main.yml
-name:check vim.stat:path=/usr/local/bin/vimregister:vim_bin-block:-name:yum install.yum:name={{ item }} state=latestwith_items:-lua-devel-python-devel-ruby-devel-ncurses-devel-name:clone vim8.git:repo=git://github.com/vim/vim.gitdest=/tmp/vimversion=v8.1.0037-name:make vim8.shell:"{{item}}"args:chdir:/tmp/vim/srcwith_items:-./configure --with-features=huge --enable-multibyte --enable-luainterp=dynamic --enable-gpm --enable-cscope --enable-fontset --enable-fail-if-missing --prefix=/usr/local --enable-pythoninterp=dynamic --enable-rubyinterp=dynamic-make-make installbecome:yeswhen:not vim_bin.stat.exists
これで快適