Guest User

Untitled

a guest
May 24th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. set nocompatible " be iMproved, required
  2. filetype off " required
  3.  
  4. set rtp+=~/.vim/bundle/Vundle.vim
  5. call vundle#begin()
  6.  
  7. Plugin 'ctrlpvim/ctrlp.vim'
  8. Plugin 'scrooloose/nerdtree'
  9. Plugin 'kchmck/vim-coffee-script'
  10. Plugin 'othree/yajs.vim'
  11. Plugin 'slim-template/vim-slim.git'
  12. Plugin 'tpope/vim-haml'
  13. Plugin 'tpope/vim-dispatch'
  14. Plugin 'tpope/vim-rails'
  15. Plugin 'leafgarland/typescript-vim.git'
  16. Plugin 'digitaltoad/vim-pug.git'
  17. Plugin 'Shougo/vimproc.vim'
  18. Plugin 'Quramy/tsuquyomi'
  19. Plugin 'mattn/emmet-vim'
  20.  
  21. call vundle#end() " required
  22. filetype plugin indent on " required
  23.  
  24. autocmd BufNewFile,BufRead *.ejs set syntax=html
  25. autocmd BufWritePre *.py :%s/\s\+$//e
  26.  
  27. syntax on
  28. se ts=2
  29. se sts=2
  30. set expandtab
  31. set autoindent
  32. set shiftwidth=2
  33. set backspace=2 " backspace on two-spaces deletes both
  34. set history=1000
  35. set undolevels=1000
  36.  
  37. set showmatch
  38. set mat=1 " how many tenths of a second to blink for
  39. set title
  40. set visualbell
  41. set noerrorbells
  42. set nobackup
  43. set noswapfile
  44. set smartcase
  45. set hlsearch
  46. set incsearch
  47. set number
  48.  
  49. filetype on " define commands based on filetype
  50. filetype indent on " auto-indent
  51. filetype plugin on " enable plugins based on filetype
  52.  
  53. nnoremap <c-j> <c-w>j
  54. nnoremap <c-k> <c-w>k
  55. nnoremap <c-h> <c-w>h
  56. nnoremap <c-l> <c-w>l
  57.  
  58. :imap jk <Esc>
  59.  
  60. let g:ctrlp_custom_ignore = {
  61. \ 'dir': '\v[\/](tmp|node_modules)',
  62. \ 'file': '\v\.(exe|so|dll|cache)$',
  63. \ }
  64. let g:tsuquyomi_completion_detail = 1
  65.  
  66. colorscheme molokai
  67.  
  68. set cursorline
  69. set cursorcolumn
Add Comment
Please, Sign In to add comment