defm03

vimrc -- crankyadmin

Jul 10th, 2013
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VIM 1.77 KB | None | 0 0
  1. " vimrc
  2. " Author: Dave Houston <[email protected]>
  3. "
  4. "
  5. set nocompatible
  6. filetype off
  7.  
  8. " Vundle
  9. set rtp+=~/.vim/bundle/vundle/
  10. call vundle#rc()
  11.  
  12. "General Plugins
  13. Bundle 'gmarik/vundle'
  14. Bundle 'tsaleh/vim-align'
  15. Bundle 'tpope/vim-fugitive'
  16. Bundle 'tpope/vim-speeddating'
  17. Bundle 'tpope/vim-surround'
  18. Bundle 'tpope/vim-unimpaired'
  19. Bundle 'scrooloose/nerdcommenter'
  20. Bundle 'scrooloose/nerdtree'
  21. Bundle 'scrooloose/vim-space'
  22. Bundle 'scrooloose/syntastic'
  23. Bundle 'chrismetcalf/vim-yankring'
  24. Bundle 'Shougo/neocomplcache'
  25. Bundle 'michaeljsmith/vim-indent-object'
  26. Bundle 'mirell/vim-matchit'
  27. Bundle 'Lokaltog/vim-powerline'
  28. Bundle 'ervandew/supertab'
  29.  
  30. " Colors
  31. Bundle 'sjl/badwolf'
  32. Bundle 'altercation/vim-colors-solarized'
  33. Bundle 'tomasr/molokai'
  34.  
  35. " General
  36. filetype plugin indent on
  37. colorscheme badwolf
  38. syntax on
  39.  
  40. match ErrorMsg '^\(<\|=\|>\)\{7\}\([^=].\+\)\?$'
  41.  
  42. let mapleader = ','
  43. let maplocalleader = '\\'
  44.  
  45. " Mappings
  46.  
  47. " Yank to end of line with Y
  48. map Y y$
  49.  
  50. " Bracket match using tab
  51. map <tab> %
  52.  
  53. nmap <silent> <leader>h :set invhlsearch<CR>
  54. nmap <silent> <leader>l :set invlist<CR>
  55. nmap <silent> <leader>n :set invnumber<CR>
  56. nmap <silent> <leader>p :set invpaste<CR>
  57. nmap <silent> <leader>i :set invrelativenumber<CR>
  58.  
  59. " Abbrevations
  60.  
  61. iabbrev e@ root@crankyadmin.net
  62. iabbrev bash@ #!/bin/bash
  63.  
  64. " Settings
  65. set autoread
  66. set backspace=ident,eol,start
  67. set binary
  68. set cinoptions=:0,(s,u0,U1,g0,t0
  69. set completeopt=menuone,preview
  70. set hidden
  71. set history=1000
  72. set incsearch
  73. set laststatus=2
  74. set list
  75.  
  76. set listchars=tab:▸\ ,eol:¬,extends:❯,precedes:❮
  77. set showbreak==↪
  78.  
  79. set notimeout
  80. set timeout
  81. set timeoutlen=10
  82.  
  83. " Backups
  84.  
  85. " Enable Neocomplcache https://github.com/Shougo/neocomplcache
  86. let g:neocomplcache_enable_at_startup = 1
Advertisement
Add Comment
Please, Sign In to add comment