Guest User

Untitled

a guest
Dec 15th, 2017
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.70 KB | None | 0 0
  1. set nu
  2. set nocompatible " required
  3. filetype off " required
  4.  
  5. " set the runtime path to include Vundle and initialize
  6. set rtp+=~/.vim/bundle/Vundle.vim
  7. call vundle#begin()
  8.  
  9. " alternatively, pass a path where Vundle should install plugins
  10. "call vundle#begin('~/some/path/here')
  11.  
  12. " let Vundle manage Vundle, required
  13. Plugin 'gmarik/Vundle.vim'
  14.  
  15. " Add all your plugins here (note older versions of Vundle used Bundle instead of Plugin)
  16.  
  17.  
  18. " All of your Plugins must be added before the following line
  19. call vundle#end() " required
  20. filetype plugin indent on " required
  21.  
  22. "set splitbelow
  23. "set splitright
  24. "split navigations
  25. "nnoremap <C-J> <C-W><C-J>
  26. "nnoremap <C-K> <C-W><C-K>
  27. "nnoremap <C-L> <C-W><C-L>
  28. "nnoremap <C-H> <C-W><C-H>
  29.  
  30. "Enable folding"
  31. set foldmethod=indent
  32. set foldlevel=99
  33.  
  34. " Enabling folding with spacebar
  35. nnoremap <space> za
  36.  
  37. set backspace=indent,start
  38.  
  39. Plugin 'tmhedberg/SimplyFold'
  40.  
  41. :au BufNewFile,BufRead *.py
  42. \ set tabstop=4 softtabstop=4 shiftwidth=4 textwidth=79 expandtab autoindent fileformat=unix
  43.  
  44. Plugin 'vim-scripts/indentpython.vim'
  45.  
  46. ":au BufRead,BufNewFile *.py,*.pyw,*.c,*.h :match ExtraWhitespace /\s\+$/
  47.  
  48. set encoding=utf-8
  49.  
  50. Bundle 'Valloric/YouCompleteMe'
  51.  
  52. let g:ycm_autoclose_preview_window_after_completion=1
  53. map <leader>g :YcmCompleter GoToDefinitionElseDeclaration<CR>
  54.  
  55. Plugin 'vim-syntastic/syntastic'
  56.  
  57. Plugin 'nvie/vim-flake8'
  58.  
  59. let python_highlight_all=1
  60. syntax on
  61.  
  62. Plugin 'jnurmine/Zenburn'
  63.  
  64. Plugin 'scrooloose/nerdtree'
  65.  
  66. Plugin 'jistr/vim-nerdtree-tabs'
  67.  
  68. let NERDTreeIgnore=['\.pyc$', '\~$'] "ignore files in NERDTree
  69.  
  70. Plugin 'kien/ctrlp.vim'
  71.  
  72. Plugin 'tpope/vim-fugitive'
  73.  
  74. Plugin 'Lokaltog/powerline', {'rtp': 'powerline/bindings/vim/'}
  75.  
  76. set clipboard=unnamed
Add Comment
Please, Sign In to add comment