Last active
October 24, 2015 17:53
-
-
Save maaatts/2846ef4ee3b5e0145e39 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Pathogen | |
execute pathogen#infect() | |
" | |
set nocompatible | |
" Enable filetype plugins | |
filetype plugin on | |
filetype indent on | |
" Set to auto read when a file is changed | |
set autoread | |
" Always show current position | |
set ruler | |
" Highlight search results | |
set hlsearch | |
" Improved Search | |
set incsearch | |
" Show matching brackets | |
set showmatch | |
set mat=2 | |
" Get rid of annoying sounds | |
set noerrorbells | |
set novisualbell | |
set t_vb= | |
set tm=500 | |
" Enable syntax highlighting | |
syntax enable | |
" Set colorscheme | |
colorscheme torte | |
" Get rid of annoying backup files | |
set nobackup | |
set nowb | |
set noswapfile | |
" Autoindent | |
set autoindent | |
" Smart tabs | |
set smarttab | |
" One tab please <3 | |
set noexpandtab | |
" Set tabs to 4 spaces | |
set shiftwidth=4 | |
set tabstop=4 | |
" Always show status line | |
set laststatus=2 | |
" Show line numbers | |
set nu | |
" Associate .inc and .asm file extensions with nasm syntax | |
au BufRead,BufNewFile *.inc set filetype=nasm | |
au BufRead,BufNewFile *.asm set filetype=nasm | |
" Reload file as root | |
command W w !sudo tee % >/dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment