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.vimSet-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 -yExecute
vimand type:PlugInstallin vim terminal.
vim
:PlugInstall
:q
:qSet-up alias vi to vim.
vi ~/.bashrc# Add this line in last line
alias vi='vim'Reload
su -Share article