Advertisement
Guest User

Untitled

a guest
Jul 30th, 2016
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.19 KB | None | 0 0
  1. + get vim wo cream
  2. + move vimfiles into vim directory
  3. + use system vimrc <- find with :version
  4. + install vundle
  5. + install plugins
  6. + compile ycm
  7. -req python, cmake, c++ compiler
  8. + point to ultisnips lib
  9. - rebind ycm to not use tab
  10.  
  11. #vimrc
  12.  
  13. """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
  14. "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ""
  15. "" ___ ___ ___ ""
  16. "" ___ /\ \ /\ \ /\__\ ""
  17. "" /\ \ ___ |::\ \ /::\ \ /:/ / ""
  18. "" \:\ \ /\__\ |:|:\ \ /:/\:\__\ /:/ / ""
  19. "" \:\ \ /:/__/ __|:|\:\ \ /:/ /:/ / /:/ / ___ ""
  20. "" ___ \:\__\ /::\ \ /::::|_\:\__\ /:/_/:/__/___ /:/__/ /\__\ ""
  21. "" /\ \ |:| | \/\:\ \__ \:\~~\ \/__/ \:\/:::::/ / \:\ \ /:/ / ""
  22. "" \:\ \|:| | ~~\:\/\__\ \:\ \ \::/~~/~~~~ \:\ /:/ / ""
  23. "" \:\__|:|__| \::/ / \:\ \ \:\~~\ \:\/:/ / ""
  24. "" \::::/__/ /:/ / \:\__\ \:\__\ \::/ / ""
  25. "" ~~~~ \/__/ \/__/ \/__/ \/__/ ""
  26. "" ""
  27. "" ~ Configuration by: Mark Sorce ~ ""
  28. "" ""
  29. "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ""
  30. """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
  31.  
  32. set nocompatible
  33. filetype off
  34.  
  35. set rtp+=$HOME/vim/vimfiles/bundle/Vundle.vim
  36. call vundle#begin('$USERPROFILE/vim/vimfiles/bundle/')
  37.  
  38. Plugin 'gmarik/Vundle.vim'
  39. Plugin 'Valloric/YouCompleteMe'
  40. Plugin 'Valloric/MatchTagAlways'
  41. Plugin 'vim-airline/vim-airline'
  42. Plugin 'vim-airline/vim-airline-themes'
  43. Plugin 'git://git.wincent.com/command-t.git'
  44. Plugin 'flazz/vim-colorschemes'
  45. Plugin 'scrooloose/nerdtree'
  46. Plugin 'Townk/vim-autoclose'
  47. Plugin 'tpope/vim-fugitive'
  48. Plugin 'mhinz/vim-signify'
  49. Plugin 'kien/ctrlp.vim'
  50. Plugin 'SirVer/ultisnips'
  51. Plugin 'honza/vim-snippets'
  52.  
  53. call vundle#end()
  54. filetype plugin indent on
  55. set tabstop=2 shiftwidth=2 expandtab
  56. set backspace=indent,eol,start
  57. set encoding=utf-8
  58. set relativenumber
  59. set number
  60. syntax on
  61.  
  62. "" Write file
  63. """"""""""""""
  64. nnoremap <silent> <C-S> :<C-u>update<CR>
  65. inoremap <c-s> <Esc>:update<CR>
  66.  
  67. "" Copy paste
  68. """"""""""""""
  69. :inoremap <a-v> <Esc>"*p
  70. :nnoremap <a-v> "*p
  71.  
  72. ""Nerdtree
  73. """""""""""
  74. nnoremap <silent> <C-\> :NERDTreeToggle<CR>
  75.  
  76. "" Airline
  77. set laststatus=2
  78. let g:airline_powerline_fonts = 1
  79. let g:airline#extensions#tabline#enabled = 1
  80. "" Youcompleteme
  81. """""""""""""""""
  82. let g:ycm_key_list_select_completion = ['<C-j>', '<Down>']
  83. let g:ycm_key_list_previous_completion = ['<C-k>', '<Up>']
  84.  
  85. ""Ultisnips
  86. """"""""""""
  87. let g:UltiSnipsSnippetDirectories=["C:/Users/Mark/vim/vimfiles/bundle/vim-snippets/UltiSnips"]
  88. "let g:UltiSnipsListSnippets = '<c-l>'
  89. let g:UltiSnipsExpandTrigger = '<tab>'
  90. let g:UltiSnipsJumpForwardTrigger = '<tab>'
  91. let g:UltiSnipsJumpBackwardTrigger = '<s-tab>'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement