Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Apr 7th, 2012  |  syntax: VIM  |  size: 1.75 KB  |  views: 106  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.   0                                                                                              
  2.   1  
  3.   2 call pathogen#infect()
  4.   3 filetype plugin on
  5.   4  
  6.   5 let g:syntastic_enable_signs=1
  7.   6 let g:syntastic_enable_highlighting = 1
  8.   7 let g:syntastic_loc_list_height=5
  9.   8 let g:syntastic_echo_current_error=2
  10.   9 let g:syntastic_statusline_flag=2
  11.  10 "set statusline+=%#warningmsg#
  12.  11 "set statusline+=%{SyntasticStatuslineFlag()}
  13.  12 "set statusline+=%*
  14.  13  
  15.  14  
  16.  15 syntax on
  17.  16 set history=1000
  18.  17 set undolevels=1000
  19.  18 set visualbell
  20.  19  
  21.  20  
  22.  21 if &compatible
  23.  22     set nocompatible
  24.  23 endif
  25.  24  
  26.  25 "set laststatus=2
  27.  26  
  28.  27 set background=dark
  29.  28 set relativenumber
  30.  29 set hidden
  31.  30 set showmatch
  32.  31 set showmode
  33.  32 set showcmd
  34.  33 set hlsearch
  35.  34 set incsearch
  36.  35 set ignorecase
  37.  36 set smartcase   "this overwrites the ignore case
  38.  37                 "if search patter contains upper
  39.  38  
  40.  39 "filetype on  "not sure what this does
  41.  40  
  42.  41  
  43.  42 set backspace=2
  44.  43 nmap <silent> <leader><space> :nohlsearch<CR>
  45.  44  
  46.  45  
  47.  46 "set scrolloff=2
  48.  47 set tabstop=2
  49.  48 set shiftwidth=2
  50.  49 set expandtab  "turns tabs into spaces
  51.  50 set smarttab
  52.  51 set bs=indent,eol,start
  53.  52 set autoindent
  54.  53 set copyindent
  55.  54 set smartindent
  56.  55  
  57.  56  
  58.  57 set splitright
  59.  58 set columns=320
  60.  59 set splitbelow
  61.  60  
  62.  61  
  63.  62 set ruler
  64.  63 set cursorline
  65.  64 set cuc
  66.  65 hi CursorColumn ctermfg=white ctermbg=NONE cterm=NONE
  67.  66  
  68.  67  
  69.  68 imap jj <Esc>
  70.  69 imap jk <Esc>
  71.  70  
  72.  71  
  73.  72 " Jump to matching pairs easily, with Tab
  74.  73 nnoremap <Tab> %
  75.  74 vnoremap <Tab> %
  76.  75  
  77.  76  
  78.  77 map <C-h> <C-w>h
  79.  78 map <C-j> <C-w>j
  80.  79 map <C-k> <C-w>k
  81.  80 map <C-l> <C-w>l
  82.  81