Skip to content

maateen/vim-for-devops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 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
  • HCL
  • 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
Ctrl-i Toggle IDE mode in VIM
Ctrl-g Enable Git Gutter
Ctrl-f Toggle Fullscreen mode
Ctrl-t Toggle NerdTree
Ctrl-n Move focus to NERDTree window
Ctrl-d Toggle Terminal below current tab
,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
joshdick/onedark.vim
jiangmiao/auto-pairs
preservim/nerdcommenter
airblade/vim-gitgutter GitGutter
junegunn/goyo.vim Goyo
preservim/nerdtree NERDTree
xuyuanp/nerdtree-git-plugin NERDTree
ryanoasis/vim-devicons NERDTree
tiagofumo/vim-nerdtree-syntax-highlight NERDTree
ekalinin/Dockerfile.vim dockerfile
fatih/vim-go go
plasticboy/vim-markdown markdown
chr4/nginx.vim nginx
hashivim/vim-terraform hcl, terraform
cespare/vim-toml toml
hashivim/vim-vagrant vagrant
stephpy/vim-yaml yaml


Made with ❤️ for DevOps Engineers by DevOps Engineer