Advertisement
Guest User

Untitled

a guest
Apr 16th, 2014
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. if has('vim_starting')
  2. set nocompatible " Be iMproved
  3.  
  4. " Required:
  5. set runtimepath+=~/.vim/bundle/neobundle.vim/
  6. endif
  7.  
  8. " Required:
  9. call neobundle#begin(expand('~/.vim/bundle/'))
  10.  
  11. " Let NeoBundle manage NeoBundle
  12. " Required:
  13. NeoBundleFetch 'Shougo/neobundle.vim'
  14.  
  15. " My Bundles here:
  16. NeoBundle 'Shougo/neosnippet.vim'
  17. NeoBundle 'Shougo/neosnippet-snippets'
  18. NeoBundle 'tpope/vim-fugitive'
  19. NeoBundle 'kien/ctrlp.vim'
  20. NeoBundle 'flazz/vim-colorschemes'
  21. NeoBundle 'bling/vim-airline'
  22. " You can specify revision/branch/tag.
  23. NeoBundle 'Shougo/vimshell', { 'rev' : '3787e5' }
  24.  
  25. call neobundle#end()
  26.  
  27. " Required:
  28. filetype plugin indent on
  29.  
  30. " If there are uninstalled bundles found on startup,
  31. " this will conveniently prompt you to install them.
  32. NeoBundleCheck
  33.  
  34. set laststatus=2
  35. set encoding=utf-8
  36. set shiftwidth=4
  37. set softtabstop=4
  38. set autoindent
  39. set smartindent
  40. set smarttab
  41. set expandtab
  42. syntax on
  43. filetype plugin indent on
  44. set cindent
  45. filetype indent on
  46. set number
  47. set splitright
  48. autocmd! BufNewFile *.c silent! 0r /home/pankaj/template.c
  49. autocmd! BufNewFile *.cpp silent! 0r /home/pankaj/template.cpp
  50. let g:netrw_altv = 1
  51. let g:netrw_browse_split = 4
  52. let g:netrw_list_hide= '\(^\|\s\s\)\zs\.\S\+'
  53. let g:netrw_winsize = 22
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement