/vim-for-devops

An awesome lightweight Vim for DevOps.

Primary LanguageVim ScriptGNU General Public License v3.0GPL-3.0

VIM for DevOps

An awesome lightweight Vim for DevOps Engineers.

Install VIM

MacOSX

Please, open a terminal and play this command to install the latest vim.

$ brew install vim

Ubuntu

Please, open a terminal and play these commands to install the latest vim.

$ sudo add-apt-repository ppa:jonathonf/vim -y
$ sudo apt update
$ sudo apt install vim -y

Set Up VIM for DevOps

Play these commands on Terminal to set up Vim for DevOps.

$ git clone git@github.com:maateen/awesome-vimrc.git
$ cd awesome-vimrc
$ bash install.sh

Supported Languages

  • Dockerfile
  • Golang
  • Markdown
  • Nginx
  • Python3
  • Terraform
  • TOML
  • Vagrant
  • YAML

Shortcuts

The Leader key is a way of extending the power of VIM's shortcuts by using sequences of keys to perform a command. The default leader key is comma (,) key.

Key Description
,f Toggle Fullscreen mode
,g Enable Git Gutter
,\ Toggle NerdTree
,n Move focus to NERDTree window
,cc Comment out the current line or text selected in visual mode.
,cu Uncomments the selected line(s). Read More

Plugins

Name Lazy Loading On For
lifepillar/vim-solarized8
junegunn/vim-easy-align
tpope/vim-surround
preservim/nerdcommenter
airblade/vim-gitgutter GitGutterEnable
junegunn/goyo.vim Goyo
preservim/nerdtree NERDTreeToggle
ekalinin/Dockerfile.vim docker
fatih/vim-go go
plasticboy/vim-markdown markdown
chr4/nginx.vim nginx
hashivim/vim-terraform terraform
cespare/vim-toml toml
hashivim/vim-vagrant vagrant
stephpy/vim-yaml yaml

Made with ❤️ for DevOps Engineers by DevOps Engineer