Advertisement
Guest User

Untitled

a guest
Aug 28th, 2016
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. set backspace=2
  2. set incsearch
  3. set nospell
  4. set smartindent
  5. set tabstop=2
  6. set shiftwidth=2
  7. set softtabstop=2
  8. set expandtab
  9. set nobackup
  10. set nowritebackup
  11. set noswapfile
  12. set backupcopy=yes
  13. set backupdir=~/tmp,/tmp,.backup,.
  14. set directory=~/tmp,/tmp,.backup,.
  15. au Filetype python setlocal tabstop=4 softtabstop=4 shiftwidth=4
  16. au BufRead,BufNewFile *.tac set filetype=python
  17. au BufRead,BufNewFile *.rx set filetype=retro
  18. au BufRead,BufNewFile *.dats set filetype=ats
  19. au BufRead,BufNewFile *.sats set filetype=ats
  20. set rtp+=$GOROOT/misc/vim
  21. syntax on
  22. filetype plugin indent on
  23. set bg=dark
  24. au FileType go nmap <Leader>d <Plug>(go-def-tab)
  25. au FileType go nmap <Leader>s <Plug>(go-implements)
  26. au FileType go nmap <Leader>i <Plug>(go-info)
  27. au FileType go nmap <Leader>gd <Plug>(go-doc-browser)
  28. au FileType go nmap <leader>b <Plug>(go-build)
  29. au FileType go nmap <leader>t <Plug>(go-test)
  30. au FileType go nmap <Leader>gl <Plug>(go-lint)
  31. au FileType go nmap <leader>c <Plug>(go-coverage)
  32. au FileType go nmap <Leader>e <Plug>(go-rename)
  33. let g:ycm_autoclose_preview_window_after_completion = 1
  34. let g:go_fmt_autosave = 1
  35. "let g:ycm_key_list_select_completion = ['<TAB>', '<DOWN>', '<Enter>']
  36. let g:racer_cmd = "/home/saml/.cargo/bin/racer"
  37. "let g:rustfmt_autosave = 1
  38. let g:flow#enable = 0
  39. execute pathogen#infect()
  40. "let NERDTreeMapOpenSplit='<ENTER>'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement