Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (14 sloc) 406 Bytes
" minimal vim config for working on remote machines, in containers, etc.
" apk update && apk add vim
" curl -sL https://raw.githubusercontent.com/zacanger/z/master/.vimrc > ~/.vimrc
set nu
syntax enable
set shiftwidth=2
set expandtab
set tabstop=2
set nobackup
set nowritebackup
set noswapfile
autocmd InsertEnter * :set number
autocmd InsertLeave * :set relativenumber
set clipboard^=unnamed,unnamedplus