Advertisement
Guest User

Untitled

a guest
Oct 8th, 2015
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.11 KB | None | 0 0
  1. set nocompatible " be iMproved, required
  2. filetype off " required
  3.  
  4. " set the runtime path to include Vundle and initialize
  5. set rtp+=~/.vim/bundle/Vundle.vim
  6. call vundle#begin()
  7. " alternatively, pass a path where Vundle should install plugins
  8. "call vundle#begin('~/some/path/here')
  9.  
  10. " let Vundle manage Vundle, required
  11. Plugin 'gmarik/Vundle.vim'
  12. Plugin 'tpope/vim-fugitive.git'
  13. Plugin 'vim-scripts/ScrollColors.git'
  14. Plugin 'tpope/vim-rails'
  15. Plugin 'tpope/vim-bundler.git'
  16. Plugin 'ctrlpvim/ctrlp.vim.git'
  17. Plugin 'MarcWeber/vim-addon-mw-utils'
  18. Plugin 'tomtom/tlib_vim'
  19. Plugin 'garbas/vim-snipmate'
  20. Plugin 'honza/vim-snippets.git'
  21. Plugin 'Shougo/neomru.vim'
  22. Plugin 'Shougo/unite.vim'
  23. Plugin 'Shougo/vimfiler.vim'
  24. Plugin 'altercation/vim-colors-solarized'
  25. Plugin 'rking/ag.vim'
  26. " The following are examples of different formats supported.
  27. " Keep Plugin commands between vundle#begin/end.
  28.  
  29. " All of your Plugins must be added before the following line
  30. call vundle#end() " required
  31.  
  32. execute pathogen#infect()
  33. "set backspace=2
  34. "syntax on
  35. "filetype indent on
  36. "set autoindent
  37. set number
  38. syntax enable
  39. colorscheme peachpuff
  40.  
  41. set nobackup
  42. set nocompatible " choose no compatibility with legacy vi
  43. set encoding=utf-8
  44. set showcmd " display incomplete commands
  45. filetype plugin indent on " load file type plugins + indentation
  46.  
  47. "" Whitespace
  48. set nowrap " don't wrap lines
  49. set tabstop=2 shiftwidth=2 " a tab is two spaces (or set this to 4)
  50. set expandtab " use spaces, not tabs (optional)
  51. set backspace=indent,eol,start " backspace through everything in insert mode
  52.  
  53. "" Searching
  54. set hlsearch " highlight matches
  55. set incsearch " incremental searching
  56. set ignorecase " searches are case insensitive...
  57. set smartcase " ... unless they contain at least one capital letter
  58.  
  59. let g:ackprg = 'ag --nogroup --nocolor --column'
  60.  
  61. let mapleader = ","
  62. map <Leader>i mmgg=G`m<CR>
  63. map <Leader>p :set paste<CR>o<esc>\"*]p:set nopaste<cr>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement