Skip to content

Instantly share code, notes, and snippets.

@skoryky
Created November 7, 2013 00:30
Show Gist options
  • Save skoryky/7346844 to your computer and use it in GitHub Desktop.
Save skoryky/7346844 to your computer and use it in GitHub Desktop.
" Reset any previously set options.
set nocompatible
" Enable syntax highlighting.
syntax on
" Make the background white.
set background=light
" Show line numbers down left side of window.
set number
" Make tabs two spaces.
set expandtab
set tabstop=2
" LTL.
set colorcolumn=121
" Indicate trailing spaces and tabs.
set list
set listchars=tab:»»,trail:♥︎
" Highlight current line.
set cursorline
" %n buffer number
" %f relative path to file
" %m modified flag [+] (modified), [-] (unmodifiable) or nothing
" %r readonly flag [RO]
" %y filetype [ruby]
" %= split point for left/right justification
" %c current column number
" %l current line number
" %L number of lines in buffer
" %P percent through buffer
set laststatus=2
set statusline=%n:
set statusline+=%f
set statusline+=%m
set statusline+=%r
set statusline+=%y
set statusline+=%=
set statusline+=%c\
set statusline+=%l/%L\
set statusline+=%P
" Vundle
filetype off
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
Bundle 'gmarik/vundle'
Bundle 'heartsentwined/vim-emblem.git'
Bundle 'kchmck/vim-coffee-script.git'
Bundle 'kien/ctrlp.vim.git'
Bundle 'tpope/vim-fugitive.git'
Bundle 'tpope/vim-rails.git'
Bundle 'Lokaltog/vim-easymotion.git'
filetype plugin indent on
" Configure CtrlP plugin.
let g:ctrlp_map = '<c-t>'
" Configure EasyMotion plugin.
let g:EasyMotion_leader_key = '<c-e>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment