Skip to content

Instantly share code, notes, and snippets.

@banyek
Created October 4, 2015 19:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save banyek/f3fbe81c68b8ad388aa9 to your computer and use it in GitHub Desktop.
Save banyek/f3fbe81c68b8ad388aa9 to your computer and use it in GitHub Desktop.
set number " Line numbering
autocmd BufWritePre *.pp :%s/\s\+$//e " Remove whitespaes from the end of puppet file lines
autocmd BufNewFile,BufRead *.pp set filetype=ruby " Deal *.pp files with Ruby syntax
syntax enable " Have syntax highlighted
set background=dark " Use light backgroud
colorscheme solarized " Solarized color scheme
set nocompatible " Behave as VIM not VI
filetype indent plugin on " Indent files
set hidden
set showcmd
set showmatch
set hlsearch
set backspace=indent,eol,start
set autoindent
set nostartofline
set ruler
set laststatus=2
set confirm
set cmdheight=2
set shiftwidth=4
set softtabstop=4
set expandtab
set cursorline
set wildmenu
set foldenable
set foldlevelstart=10
set foldnestmax=10
set paste
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment