Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- execute pathogen#infect()
- set nocompatible
- filetype off
- " set the runtime path to include Vundle and initialize
- set rtp+=~/.vim/bundle/Vundle.vim
- call vundle#begin()
- " let Vundle manage Vundle, required
- Plugin 'gmarik/Vundle.vim'
- " Add all your plugins here (note older versions of Vundle used Bundle instead " of Plugin)
- Plugin 'scrooloose/nerdtree'
- Plugin 'Xuyuanp/nerdtree-git-plugin'
- " All of your Plugins must be added before the following line
- call vundle#end() " required
- " search options
- set hlsearch " Highlight search results
- set smartcase " Search strings that are all-lowercase will do a case-insensitive search
- set incsearch " Incremental search
- nnoremap <silent> <CR> :noh<CR><CR> " Clear search highlight by hitting enter
- set number " Show line numbers
- set foldcolumn=2
- set foldmethod=syntax
- set shiftwidth=4
- set tabstop=4
- set hlsearch " Highlight search results
- set smartcase " Search strings that are all-lowercase will do a case-insensitive search
- set incsearch " Incremental search
- set cursorline " Highlight current line
- syntax on
- filetype plugin indent on
- syntax enable
- set background=dark
- colorscheme solarized
- " Enable folding
- set foldmethod=indent
- set foldlevel=99
- set nowrap
- "set laststatus=2
- " Set up NERDTree keybinds and options
- " map <F3> :NERDTreeFind<CR>
- map <F4> :NERDTreeToggle<CR>
- let NERDTreeChDirMode=2 " pwd follows NERDtree
- let NERDTreeHijackNetrw=0 " So vcscommand can commit directories
- let NERDTreeIgnore=['^CVS$', '^\.svn$', '\~$']
- let g:nerdtree_tabs_open_on_gui_startup=0
- set modeline
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement