Was using tabs? Yikes. Converted to spaces.

This commit is contained in:
Jeff Geerling
2014-07-17 13:40:10 -05:00
parent d01fbd35d8
commit a7d79ea9e8
+28 -28
View File
@@ -1,43 +1,43 @@
syntax on " enable syntax highlighting syntax on " enable syntax highlighting
set cursorline " highlight the current line set cursorline " highlight the current line
" set background=dark " darker color scheme " set background=dark " darker color scheme
" set ruler " show line number in bar " set ruler " show line number in bar
set nobackup " don't create pointless backup files; Use VCS instead set nobackup " don't create pointless backup files; Use VCS instead
set autoread " watch for file changes set autoread " watch for file changes
set number " show line numbers set number " show line numbers
set showcmd " show selection metadata set showcmd " show selection metadata
set showmode " show INSERT, VISUAL, etc. mode set showmode " show INSERT, VISUAL, etc. mode
set showmatch " show matching brackets set showmatch " show matching brackets
set autoindent smartindent " auto/smart indent set autoindent smartindent " auto/smart indent
set smarttab " better backspace and tab functionality set smarttab " better backspace and tab functionality
set scrolloff=5 " show at least 5 lines above/below set scrolloff=5 " show at least 5 lines above/below
filetype on " enable filetype detection filetype on " enable filetype detection
filetype indent on " enable filetype-specific indenting filetype indent on " enable filetype-specific indenting
filetype plugin on " enable filetype-specific plugins filetype plugin on " enable filetype-specific plugins
colorscheme cobalt " requires cobalt.vim to be in ~/.vim/colors colorscheme cobalt " requires cobalt.vim to be in ~/.vim/colors
" column-width visual indication " column-width visual indication
let &colorcolumn=join(range(81,999),",") let &colorcolumn=join(range(81,999),",")
highlight ColorColumn ctermbg=235 guibg=#001D2F highlight ColorColumn ctermbg=235 guibg=#001D2F
" tabs and indenting " tabs and indenting
set autoindent " auto indenting set autoindent " auto indenting
set smartindent " smart indenting set smartindent " smart indenting
set expandtab " spaces instead of tabs set expandtab " spaces instead of tabs
set tabstop=2 " 2 spaces for tabs set tabstop=2 " 2 spaces for tabs
set shiftwidth=2 " 2 spaces for indentation set shiftwidth=2 " 2 spaces for indentation
" bells " bells
set noerrorbells " turn off audio bell set noerrorbells " turn off audio bell
set visualbell " but leave on a visual bell set visualbell " but leave on a visual bell
" search " search
set hlsearch " highlighted search results set hlsearch " highlighted search results
set showmatch " show matching bracket set showmatch " show matching bracket
" other " other
set guioptions=aAace " don't show scrollbar in MacVim set guioptions=aAace " don't show scrollbar in MacVim
call pathogen#infect() " use pathogen call pathogen#infect() " use pathogen
" clipboard " clipboard
set clipboard=unnamed " allow yy, etc. to interact with OS X clipboard set clipboard=unnamed " allow yy, etc. to interact with OS X clipboard