.vimrc 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. set nocompatible " be iMproved, required
  2. filetype off " required
  3. " set the runtime path to include Vundle and initialize
  4. set rtp+=~/.vim/bundle/Vundle.vim
  5. call vundle#begin()
  6. " alternatively, pass a path where Vundle should install plugins
  7. "call vundle#begin('~/some/path/here')
  8. " let Vundle manage Vundle, required
  9. Plugin 'VundleVim/Vundle.vim'
  10. " The following are examples of different formats supported.
  11. " Keep Plugin commands between vundle#begin/end.
  12. " plugin on GitHub repo
  13. Plugin 'tpope/vim-fugitive'
  14. " plugin from http://vim-scripts.org/vim/scripts.html
  15. " Plugin 'L9'
  16. " Git plugin not hosted on GitHub
  17. " Plugin 'git://git.wincent.com/command-t.git'
  18. " git repos on your local machine (i.e. when working on your own plugin)
  19. " Plugin 'file:///home/gmarik/path/to/plugin'
  20. " The sparkup vim script is in a subdirectory of this repo called vim.
  21. " Pass the path to set the runtimepath properly.
  22. Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
  23. " Install L9 and avoid a Naming conflict if you've already installed a
  24. " different version somewhere else.
  25. " Plugin 'ascenator/L9', {'name': 'newL9'}
  26. Plugin 'flazz/vim-colorschemes'
  27. " All of your Plugins must be added before the following line
  28. call vundle#end() " required
  29. filetype plugin indent on " required
  30. " To ignore plugin indent changes, instead use:
  31. "filetype plugin on
  32. "
  33. " Brief help
  34. " :PluginList - lists configured plugins
  35. " :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate
  36. " :PluginSearch foo - searches for foo; append `!` to refresh local cache
  37. " :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal
  38. "
  39. " see :h vundle for more details or wiki for FAQ
  40. " Put your non-Plugin stuff after this line
  41. set tabstop=4
  42. set shiftwidth=4
  43. set smarttab
  44. set expandtab "Ставим табы пробелами
  45. set softtabstop=4 "4 пробела в табе
  46. set autoindent "автоотступ
  47. "set smartindent
  48. set hlsearch
  49. set number
  50. set relativenumber
  51. let python_highlite_all=1
  52. set t_Co=256 "256 цветов в терминале
  53. syntax on "Подсветка синтаксиса
  54. set mousehide "Спрятать курсор мыши когда набираем текст
  55. set mouse=a "Включить поддержку мыши
  56. set termencoding=utf-8 "Кодировка терминала
  57. set novisualbell "Не мигать
  58. set t_vb= "Не пищать
  59. set backspace=indent,eol,start whichwrap+=<,>,[,] "Удобное поведение backspace
  60. set showtabline=1 "Вырубаем черточки на табах
  61. set wrap "Переносим на другую строчкуб разрываем строки
  62. set linebreak
  63. "Вырубаем .swp и ~ (резервные) файлы
  64. set nobackup
  65. set noswapfile
  66. set encoding=utf-8 "Кодировка файлов по умолчанию
  67. set fileencodings=utf8,cp1251
  68. set clipboard=unnamed
  69. set ruler
  70. set visualbell t_vb=
  71. colorscheme OceanicNext