Skip to content

Instantly share code, notes, and snippets.

@huiyonghkw
Last active January 23, 2017 09:59
Show Gist options
  • Save huiyonghkw/058de01eb5ad1282ec95837d978c9c45 to your computer and use it in GitHub Desktop.
Save huiyonghkw/058de01eb5ad1282ec95837d978c9c45 to your computer and use it in GitHub Desktop.
.vimrc
syntax enable
colorscheme laravel
"-------------General Settings--------------"
set backspace=indent,eol,start
let mapleader=','
set number
set guifont=Fira_Code_Light:h15
set encoding=utf8
set showcmd
set visualbell
"-------------Search--------------"
set hlsearch
set incsearch
"-------------Mappings--------------"
"Make it easy to edit the Vimrc file.
nmap <Leader>ev :tabedit $MYVIMRC<cr>
"-------------Auto-Commands--------------"
"Automaticully source the Vimrc file on save.
augroup autosourcing
autocmd!
autocmd BufWritePost .vimrc source %
augroup END
"-------------Visual--------------"
set linespace=15
set fullscreen
set guioptions-=l
set guioptions-=L
set guioptions-=r
set guioptions-=R
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment