Guest User

Untitled

a guest
Oct 12th, 2015
182
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. "NeoBundle Scripts-----------------------------
  2. if has('vim_starting')
  3. if &compatible
  4. set nocompatible " Be iMproved
  5. endif
  6.  
  7. " Required:
  8. set runtimepath+=/home/rustam/.vim/bundle/neobundle.vim/
  9. endif
  10.  
  11. " Required:
  12. call neobundle#begin(expand('/home/rustam/.vim/bundle'))
  13.  
  14. " Let NeoBundle manage NeoBundle
  15. " Required:
  16. NeoBundleFetch 'Shougo/neobundle.vim'
  17.  
  18. " Add or remove your Bundles here:
  19. NeoBundle 'Shougo/neosnippet.vim'
  20. NeoBundle 'Shougo/neosnippet-snippets'
  21. NeoBundle 'tpope/vim-fugitive'
  22. NeoBundle 'ctrlpvim/ctrlp.vim'
  23. NeoBundle 'flazz/vim-colorschemes'
  24. NeoBundle 'bling/vim-airline'
  25. NeoBundle 'ervandew/supertab'
  26. NeoBundle 'scrooloose/nerdtree'
  27.  
  28. " You can specify revision/branch/tag.
  29. NeoBundle 'Shougo/vimshell', { 'rev' : '3787e5' }
  30.  
  31. " Required:
  32. call neobundle#end()
  33.  
  34. " Required:
  35. filetype plugin indent on
  36.  
  37. " If there are uninstalled bundles found on startup,
  38. " this will conveniently prompt you to install them.
  39. NeoBundleCheck
  40. "End NeoBundle Scripts-------------------------
  41.  
  42. " Airline settings
  43. let g:airline_powerline_fonts = 1
  44. if !exists('g:airline_symbols')
  45. let g:airline_symbols = {}
  46. endif
  47. let g:airline_symbols.space = "\ua0"
  48. let g:airline_theme = "tomorrow"
  49.  
  50. set laststatus=2
  51. " End Airline settings
  52.  
  53. " Required in order to get correct colors
  54. colorscheme 3dglasses
  55. colorscheme gruvbox
  56.  
  57. set cursorline
  58. "hi cursorline cterm=none ctermbg=darkgray
  59. set list listchars=tab:»\ ,trail:\ ,extends:$
  60. set ts=4
  61. set shiftwidth=4
  62. set number
  63. set smarttab
  64. set smartindent
  65. set autoindent
  66.  
  67. set gfn=Menlo\ for\ Powerline\ 11
  68. set guioptions-=T
  69. set guioptions-=m
  70.  
  71. " Automatically close matching brackets
  72. inoremap { {}<Left>
  73. inoremap {<CR> {<CR>}<Esc>O
  74. inoremap {{ {
  75. inoremap {} {}
  76.  
  77. inoremap ( ()<Left>
  78. inoremap <expr> ) strpart(getline('.'), col('.')-1, 1) == ")" ? "\<Right>" : ")"
  79. inoremap <expr> ' strpart(getline('.'), col('.')-1, 1) == "\'" ? "\<Right>" : "\'\'\<Left>"
  80. inoremap <expr> " strpart(getline('.'), col('.')-1, 1) == "\"" ? "\<Right>" : "\"\"\<Left>"
  81.  
  82. " Delete previous word by Ctrl-Backspace
  83. imap <C-BS> <C-W>
  84.  
  85. " Incremental search
  86. set incsearch
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×