Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if has('vim_starting')
- set nocompatible " Be iMproved
- " Required:
- set runtimepath+=~/.vim/bundle/neobundle.vim/
- endif
- " Required:
- call neobundle#begin(expand('~/.vim/bundle/'))
- " Let NeoBundle manage NeoBundle
- " Required:
- NeoBundleFetch 'Shougo/neobundle.vim'
- " My Bundles here:
- NeoBundle 'Shougo/neosnippet.vim'
- NeoBundle 'Shougo/neosnippet-snippets'
- NeoBundle 'tpope/vim-fugitive'
- NeoBundle 'kien/ctrlp.vim'
- NeoBundle 'flazz/vim-colorschemes'
- NeoBundle 'bling/vim-airline'
- " You can specify revision/branch/tag.
- NeoBundle 'Shougo/vimshell', { 'rev' : '3787e5' }
- call neobundle#end()
- " Required:
- filetype plugin indent on
- " If there are uninstalled bundles found on startup,
- " this will conveniently prompt you to install them.
- NeoBundleCheck
- set laststatus=2
- set encoding=utf-8
- set shiftwidth=4
- set softtabstop=4
- set autoindent
- set smartindent
- set smarttab
- set expandtab
- syntax on
- filetype plugin indent on
- set cindent
- filetype indent on
- set number
- set splitright
- autocmd! BufNewFile *.c silent! 0r /home/pankaj/template.c
- autocmd! BufNewFile *.cpp silent! 0r /home/pankaj/template.cpp
- let g:netrw_altv = 1
- let g:netrw_browse_split = 4
- let g:netrw_list_hide= '\(^\|\s\s\)\zs\.\S\+'
- let g:netrw_winsize = 22
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement