Advertisement
Guest User

Untitled

a guest
May 31st, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.74 KB | None | 0 0
  1. """""""""""""""""""""""""""""""""""""""""""""""""""""""""
  2. " Vundle Configuration
  3. " """""""""""""""""""""""""""""""""""""""""""""""""""""""
  4. set nocompatible " be iMproved, required
  5. filetype off " required
  6.  
  7. " set the runtime path to include Vundle and initialize
  8. set rtp+=~/.vim/bundle/Vundle.vim
  9. call vundle#begin()
  10. " alternatively, pass a path where Vundle should install plugins
  11. "call vundle#begin('~/some/path/here')
  12.  
  13. " let Vundle manage Vundle, required
  14. Plugin 'VundleVim/Vundle.vim'
  15.  
  16. " Vundle Plugins
  17. Plugin 'morhetz/gruvbox' " GruvBox Theme
  18. Plugin 'scrooloose/nerdtree' " NerdTree Plugin
  19. Plugin 'kien/ctrlp.vim' " Fuzzy Files
  20. Plugin 'bling/vim-airline' " Tabline
  21. Plugin 'jiangmiao/auto-pairs' " Close all Braces
  22. Plugin 'valloric/youcompleteme' " Code Completion
  23.  
  24.  
  25. " All of your Plugins must be added before the following line
  26. call vundle#end() " required
  27. filetype plugin indent on " required
  28. " To ignore plugin indent changes, instead use:
  29. "filetype plugin on
  30. "
  31. " Brief help
  32. " :PluginList - lists configured plugins
  33. " :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate
  34. " :PluginSearch foo - searches for foo; append `!` to refresh local cache
  35. " :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal
  36. "
  37. " see :h vundle for more details or wiki for FAQ
  38. " Put your non-Plugin stuff after this line
  39.  
  40. " """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
  41. " GENERAL
  42. " """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
  43.  
  44. " """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
  45. " PLUGIN SETTINGS
  46. " """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
  47.  
  48. " AIRLINE
  49. let g:airline#extensions#tabline#enabled = 1 " Enable the Airline
  50.  
  51. " YOUCOMPLETE ME
  52. let g:ycm_global_ycm_extra_conf = "~/.vim/.ycm_extra_conf.py"
  53.  
  54. " """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
  55. " APPEARENCE
  56. " """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
  57. syntax on " Switch on Syntax Highlighting
  58. set number " Show Line Numbers
  59. set relativenumber " Show Relative Numbers Except cur line
  60. set showmatch " Show Matching Line Parenthesis
  61. set cursorline " Highlight Current Line
  62.  
  63. " GruvBox Settings
  64. colorscheme gruvbox " Set the Color Scheme to GruvBox
  65. set background=dark " Set the Dark Variant of Theme
  66.  
  67.  
  68. " """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
  69. " SEARCH
  70. " """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
  71. set incsearch " Turn on Incremental Search
  72. set hlsearch " Highlight matches
  73. set ignorecase " Ignore Case
  74.  
  75.  
  76. " """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
  77. " INDENT
  78. " """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
  79. set copyindent " Copy the Indentation of Copied Text
  80.  
  81.  
  82. " """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
  83. " TAB
  84. " """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
  85. set tabstop=4 " tab to 4 spaces
  86. set shiftwidth=4 " Width of Indentation of copied text
  87. set softtabstop=4 " Set Tab to 4 Spaces when Editing
  88. set expandtab " Expand Tab to Spaces
  89.  
  90.  
  91. " """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
  92. " BUFFERS && FILES
  93. " """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
  94. set nobackup
  95. set noswapfile " No .swp File
  96. set autoread " Reload when a file is changed externally
  97.  
  98.  
  99. " """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
  100. " MOTION
  101. " """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
  102.  
  103.  
  104. " """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
  105. " KEYMAP
  106. " """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
  107. map <space> /
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement