Advertisement
Guest User

Untitled

a guest
Jul 16th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.03 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. Plugin 'sonph/onehalf', {'rtp': 'vim/'}
  13. Plugin 'vim-airline/vim-airline'
  14. Plugin 'ctrlpvim/ctrlp.vim'
  15. Plugin 'godlygeek/tabular'
  16. Plugin 'plasticboy/vim-markdown'
  17. Plugin 'junegunn/goyo.vim'
  18. Plugin 'ybian/smartim'
  19. Plugin 'tpope/vim-surround'
  20. Plugin 'scrooloose/nerdTree'
  21. " All of your Plugins must be added before the following line
  22. call vundle#end() " required
  23. filetype plugin indent on " required
  24. " To ignore plugin indent changes, instead use:
  25. "filetype plugin on
  26. syntax on
  27. set t_Co=256
  28. " General
  29. set number " Show line numbers
  30. set linebreak " Break lines at word (requires Wrap lines)
  31. set showbreak=+++ " Wrap-broken line prefix
  32. set textwidth=100 " Line wrap (number of cols)
  33. set showmatch " Highlight matching brace
  34. set visualbell " Use visual bell (no beeping)
  35. set hlsearch " Highlight all search results
  36. set incsearch
  37. set smartcase " Enable smart-case search
  38. set autoindent " Auto-indent new lines
  39. set shiftwidth=2 " Number of auto-indent spaces
  40. set smartindent " Enable smart-indent
  41. set smarttab " Enable smart-tabs
  42. set softtabstop=2
  43. " Use onehalfdark or onehalflight
  44. colorscheme onehalfdark
  45. " If you are using vim-airline
  46. let g:airline_theme='onehalfdark'
  47. let g:ctrlp_map = '<c-p>'
  48. let g:ctrlp_working_path_mode = 'ra'
  49. runtime macros/matchit.vim
  50. nmap <C-n> :NERDTreeToggle<CR>
  51. "
  52. " Brief help
  53. " :PluginList - lists configured plugins
  54. " :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate
  55. " :PluginSearch foo - searches for foo; append `!` to refresh local cache
  56. " :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal
  57. "
  58. " see :h vundle for more details or wiki for FAQ
  59. " Put your non-Plugin stuff after this line
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement