Advertisement
Guest User

Untitled

a guest
Oct 21st, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.26 KB | None | 0 0
  1. set nocompatible " be iMproved, required
  2. filetype off " required
  3.  
  4. " set the runtime path to include Vundle and initialize
  5. set rtp+=~/.vim/bundle/Vundle.vim
  6. call vundle#begin()
  7. " alternatively, pass a path where Vundle should install plugins
  8. "call vundle#begin('~/some/path/here')
  9.  
  10. " let Vundle manage Vundle, required
  11. Plugin 'VundleVim/Vundle.vim'
  12.  
  13. " The following are examples of different formats supported.
  14. " Keep Plugin commands between vundle#begin/end.
  15. " plugin on GitHub repo
  16. Plugin 'tpope/vim-fugitive'
  17. " plugin from http://vim-scripts.org/vim/scripts.html
  18. " Plugin 'L9'
  19. " Git plugin not hosted on GitHub
  20. Plugin 'git://git.wincent.com/command-t.git'
  21. " git repos on your local machine (i.e. when working on your own plugin)
  22. Plugin 'file:///home/gmarik/path/to/plugin'
  23. " The sparkup vim script is in a subdirectory of this repo called vim.
  24. " Pass the path to set the runtimepath properly.
  25. Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
  26. " Install L9 and avoid a Naming conflict if you've already installed a
  27. " different version somewhere else.
  28. " Plugin 'ascenator/L9', {'name': 'newL9'}
  29. Plugin 'scrooloose/nerdtree'
  30. " All of your Plugins must be added before the following line
  31. call vundle#end() " required
  32. filetype plugin indent on " required
  33. " To ignore plugin indent changes, instead use:
  34. "filetype plugin on
  35. "
  36. " Brief help
  37. " :PluginList - lists configured plugins
  38. " :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate
  39. " :PluginSearch foo - searches for foo; append `!` to refresh local cache
  40. " :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal
  41. "
  42. " see :h vundle for more details or wiki for FAQ
  43. " Put your non-Plugin stuff after this line
  44.  
  45. "pathogen install tool
  46. execute pathogen#infect()
  47.  
  48. "VIM SETTINGS
  49. set tabstop=4
  50. set shiftwidth=4
  51. set expandtab
  52. syntax on
  53. set t_Co=256
  54. "set number
  55.  
  56. "airline-extensions
  57. let g:airline#extensions#tabline#left_sep = ' '
  58. let g:airline#extensions#tabline#left_alt_sep = '|'
  59. let g:airline#extensions#tabline#enabled = 1
  60.  
  61. " air-line
  62. let g:airline_powerline_fonts = 1
  63. let g:airline_theme='angr'
  64.  
  65. if !exists('g:airline_symbols')
  66. let g:airline_symbols = {}
  67. endif
  68.  
  69. " unicode symbols
  70. let g:airline_left_sep = '»'
  71. let g:airline_left_sep = '▶'
  72. let g:airline_right_sep = '«'
  73. let g:airline_right_sep = '◀'
  74. let g:airline_symbols.linenr = '␊'
  75. let g:airline_symbols.linenr = '␤'
  76. let g:airline_symbols.linenr = '¶'
  77. let g:airline_symbols.branch = '⎇'
  78. let g:airline_symbols.paste = 'ρ'
  79. let g:airline_symbols.paste = 'Þ'
  80. let g:airline_symbols.paste = '∥'
  81. let g:airline_symbols.whitespace = 'Ξ'
  82.  
  83. " airline symbols
  84. let g:airline_left_sep = ''
  85. let g:airline_left_alt_sep = ''
  86. let g:airline_right_sep = ''
  87. let g:airline_right_alt_sep = ''
  88. let g:airline_symbols.branch = ''
  89. let g:airline_symbols.readonly = ''
  90. let g:airline_symbols.linenr = ''
  91.  
  92. "NERDTREE
  93. autocmd StdinReadPre * let s:std_in=1
  94. autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif
  95.  
  96. "colorscheme and airline theme
  97. syntax enable
  98. colorscheme pink-moon
  99.  
  100. "C-Syntax
  101. let g:clang_library_path='/usr/lib/llvm-6.0/lib'
  102. let g:ycm_global_ycm_extra_conf = '~/.vim/.ycm_extra_conf.py'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement