Introduction
Thank you for clicking through to my arcticle. I've been a DevOps engineer for 2 years in dev-team of 7 engineers.
My name is MINSEOK, LEE, but I use Unchaptered as an alias on the interenet. So, you can call me anythings "MINSEOK, LEE" or "Unchaptered" to ask something.
Topic
Use IDE Supports with Vim
Prerequisites
Install vim-plugin
Install ansible-vim
https://github.com/pearofducks/ansible-vim#installation
curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
Set-up vimrc file using
vi ~/.vimrc
vi ~/.vimrc
# New
call plug#begin()
Plug 'pearofducks/ansible-vim'
call plug#end()
# Legacy
call plug#begin('~/.vim/plugged')
Plug 'pearofducks/ansible-vim'
call plug#end()
Install plugins for
~/.vimrc
yum install vim-enhanced -y
yum install git -y
Execute
vim
and type:PlugInstall
in vim terminal.
vim
:PlugInstall
:q
:q
Set-up alias vi to vim.
vi ~/.bashrc
# Add this line in last line
alias vi='vim'
Reload
su -
Share article