Advertisement
Guest User

Untitled

a guest
Dec 10th, 2016
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.88 KB | None | 0 0
  1. " -------------------------
  2. " VUNDLE.VIM REQUIRE CONFIG
  3. " START ---------------------------------------------------------------
  4. set nocompatible " be iMproved, required
  5. filetype off " required
  6. set hidden
  7.  
  8. " set the runtime path to include Vundle and initialize
  9. set rtp+=%HOME%/vimfiles/bundle/Vundle.vim/
  10. call vundle#begin('C:\Users\ThiagoSFC\vimfiles\bundle')
  11.  
  12. " alternatively, pass a path where Vundle should install plugins
  13. "call vundle#begin('~/some/path/here')
  14. " let Vundle manage Vundle, required
  15. Plugin 'VundleVim/Vundle.vim'
  16. Plugin 'tpope/vim-fugitive'
  17. Plugin 'kien/ctrlp.vim'
  18. Plugin 'scrooloose/nerdtree'
  19. Plugin 'scrooloose/syntastic'
  20. Plugin 'altercation/vim-colors-solarized'
  21. Plugin 'stanangeloff/php.vim'
  22. Plugin 'jistr/vim-nerdtree-tabs'
  23. Plugin 'mattn/emmet-vim'
  24. Plugin 'hail2u/vim-css3-syntax'
  25. Plugin 'othree/html5.vim'
  26. Plugin 'ervandew/supertab'
  27. Plugin 'vim-ctrlspace/vim-ctrlspace'
  28. Plugin 'lervag/vimtex'
  29.  
  30. " All of your Plugins must be added before the following line
  31. call vundle#end() " required
  32. filetype plugin indent on " required
  33. " To ignore plugin indent changes, instead use:
  34. "filetype plugin on
  35.  
  36. " -------------------------
  37. " VUNDLE.VIM REQUIRE CONFIG
  38. " END -------------------------------------------------------------------
  39.  
  40. source $VIMRUNTIME/mswin.vim
  41. behave mswin
  42.  
  43. set nu
  44. set guifont=Inconsolata\ for\ Powerline:h12
  45. "PowerLine no Windows (10)
  46. python from powerline.vim import setup as powerline_setup
  47. python powerline_setup()
  48. python del powerline_setup
  49.  
  50. set t_Co=256
  51. syntax enable
  52. set background=dark
  53. colorscheme solarized
  54.  
  55. set incsearch
  56. set hlsearch
  57.  
  58. set encoding=utf-8
  59.  
  60. imap { {}<left>
  61. imap ( ()<left>
  62. imap [ []<left>
  63.  
  64. set shiftwidth=4
  65. set expandtab
  66. set tabstop=4
  67. set softtabstop=4
  68. set number
  69. set ruler
  70. set mat=2
  71. set fileformat=unix
  72. set ffs=unix
  73. set backspace=indent,eol,start
  74. let g:SuperTabDefaultCompletionType = ""
  75.  
  76. set nobackup
  77. set noswapfile
  78. set nowritebackup
  79.  
  80.  
  81. "Speed highlighting up
  82. set nocursorcolumn
  83. set nocursorline
  84. syntax sync minlines=256
  85.  
  86. " Fast saving
  87. nnoremap <Leader>w :w<CR>
  88. vnoremap <Leader>w <Esc>:w<CR>
  89. nnoremap <C-s> :w<CR>
  90. inoremap <C-s> <Esc>:w<CR>
  91. vnoremap <C-s> <Esc>:w<CR>
  92.  
  93.  
  94. " NERTree - START ---------------------------------------------------------
  95. "autocmd StdinReadPre * let s:std_in=1
  96. "autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif
  97. autocmd vimenter * NERDTree
  98. autocmd vimenter * wincmd p
  99. let g:NERDTreeBookmarksFile = $HOME ."/.NERDTreeBookmarks"
  100. " NERTree - END -----------------------------------------------------------
  101.  
  102.  
  103. " REMOVENDO BARAS NO MODO GUI *GVIM*
  104. set guioptions-=m "remove menu bar
  105. set guioptions-=T "remove toolbar
  106. set guioptions-=r "remove right-hand scroll bar
  107. set guioptions-=L "remove left-hand scroll bar
  108.  
  109.  
  110. "Windows - projetos e tags de projetos no windows
  111. :cd c:\xampp\htdocs\
  112. set tags=/xampp/htdocs/sisreformata/sisreformata.tags
  113. set tags=/xampp/htdocs/protocolocaixa/protocolocaixa.tags
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement