Advertisement
Guest User

Untitled

a guest
Oct 28th, 2016
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. execute pathogen#infect()
  2.  
  3. set nocompatible
  4. filetype off
  5.  
  6. " set the runtime path to include Vundle and initialize
  7. set rtp+=~/.vim/bundle/Vundle.vim
  8. call vundle#begin()
  9. " let Vundle manage Vundle, required
  10. Plugin 'gmarik/Vundle.vim'
  11.  
  12. " Add all your plugins here (note older versions of Vundle used Bundle instead " of Plugin)
  13. Plugin 'scrooloose/nerdtree'
  14. Plugin 'Xuyuanp/nerdtree-git-plugin'
  15.  
  16. " All of your Plugins must be added before the following line
  17. call vundle#end() " required
  18.  
  19. " search options
  20. set hlsearch " Highlight search results
  21. set smartcase " Search strings that are all-lowercase will do a case-insensitive search
  22. set incsearch " Incremental search
  23. nnoremap <silent> <CR> :noh<CR><CR> " Clear search highlight by hitting enter
  24.  
  25. set number " Show line numbers
  26. set foldcolumn=2
  27. set foldmethod=syntax
  28. set shiftwidth=4
  29. set tabstop=4
  30. set hlsearch " Highlight search results
  31. set smartcase " Search strings that are all-lowercase will do a case-insensitive search
  32. set incsearch " Incremental search
  33. set cursorline " Highlight current line
  34.  
  35. syntax on
  36. filetype plugin indent on
  37. syntax enable
  38. set background=dark
  39. colorscheme solarized
  40.  
  41. " Enable folding
  42. set foldmethod=indent
  43. set foldlevel=99
  44.  
  45. set nowrap
  46.  
  47.  
  48. "set laststatus=2
  49.  
  50.  
  51. " Set up NERDTree keybinds and options
  52. " map <F3> :NERDTreeFind<CR>
  53. map <F4> :NERDTreeToggle<CR>
  54. let NERDTreeChDirMode=2 " pwd follows NERDtree
  55. let NERDTreeHijackNetrw=0 " So vcscommand can commit directories
  56. let NERDTreeIgnore=['^CVS$', '^\.svn$', '\~$']
  57. let g:nerdtree_tabs_open_on_gui_startup=0
  58.  
  59. set modeline
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement