Skip to content

Instantly share code, notes, and snippets.

@nerdEd
Created April 25, 2010 20:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nerdEd/378684 to your computer and use it in GitHub Desktop.
Save nerdEd/378684 to your computer and use it in GitHub Desktop.
runtime! autoload/pathogen.vim
if exists('g:loaded_pathogen')
call pathogen#runtime_prepend_subdirectories(expand('~/.vimbundles'))
end
colorscheme native
set tabstop=2
set smarttab
set shiftwidth=2
set autoindent
set expandtab
set guifont=Inconsolata
set number
let mapleader = ","
" IT'S THESE THREE LINES THAT BLOW UP "No mapping found" ERROR
" map <leader>f:FuzzyFinderTextMate<CR>
" map <leader>n:NERDTree<CR>
" map <leader>t:TlistToggle<CR>
" don't leave backup files scattered about.
set updatecount=0
set nobackup
set nowritebackup
" some basic fuzzy finder setup
let g:fuzzy_ignore=".git/**,.svn/**,*.log,vendor/**,public/paperclip/**,public/images/**,public/flash/**,public/gallery/**,test/tmp/**,tmp/**,tmp/system/**,public/system,public/system/**"
set nowrap "no text wrapping
set selectmode=key "shifted arrows for selection
set foldcolumn=0 "little space on the left.
set tabstop=2
set shiftwidth=2
set softtabstop=2
set ai "auto indent
set expandtab
set smarttab
" tabbing blocks
noremap <D-]> >>
noremap <D-[> <<
vnoremap <D-]> >gv
vnoremap <D-[> <gv
" Use Command+Alt+left and Command+Alt+right to move to prev/next buffers
:noremap <D-A-left> :bprev<CR>
:noremap <D-A-right> :bnext<CR>
" Map a shortcut to close a buffer
map <leader>bd :BufClose<CR>:bnext<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment