Create a gist now

Instantly share code, notes, and snippets.

@Maxr1998 /.vimrc
Last active Jan 25, 2018

What would you like to do?
My vimrc ;)
" Max's custom .vimrc
" Load defaults
set nocompatible
unlet! skip_defaults_vim
source $VIMRUNTIME/defaults.vim
filetype off
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'FredKSchott/CoVim'
call vundle#end()
filetype plugin indent on
" Max's Customisations
set number
set nofixendofline
set tabstop=4 " Make tabs appear 4 spaces wide
set expandtab " Convert tabs to spaces
set shiftwidth=4 " Indent width for spaces (but same as tabstop)
autocmd FileType c setlocal noexpandtab
autocmd FileType yaml setlocal shiftwidth=2
colorscheme desert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment