Skip to content

Instantly share code, notes, and snippets.

@cikupin
Created June 12, 2021 09:29
Show Gist options
  • Save cikupin/d1437c9e1f34da398ccbf68dc0779a79 to your computer and use it in GitHub Desktop.
Save cikupin/d1437c9e1f34da398ccbf68dc0779a79 to your computer and use it in GitHub Desktop.
my personal & simple vim configuration
call plug#begin('~/.vim/plugged')
Plug 'ekalinin/Dockerfile.vim', { 'for': 'docker' }
Plug 'plasticboy/vim-markdown', { 'for': ['markdown', 'md'] }
Plug 'chr4/nginx.vim', { 'for': 'nginx' }
Plug 'hashivim/vim-terraform', { 'for': ['terraform', 'tf'] }
Plug 'hashivim/vim-vagrant', { 'for': ['vagrant', 'Vagrantfile'] }
Plug 'stephpy/vim-yaml', { 'for': ['yaml', 'yml'] }
call plug#end()
" ---> basic configurations
retab
filetype plugin indent on
syntax on
set number
set nocompatible
set encoding=utf-8
set ruler
set showmatch
set tabstop=4
set shiftwidth=4
set softtabstop=4
set expandtab
set autowriteall
set autoindent
set smartindent
set fileformat=unix
set backspace=indent,eol,start
set complete=.,w,b,u
set hlsearch
set incsearch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment