Advertisement
Guest User

.vimrc

a guest
Dec 24th, 2019
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VIM 3.20 KB | None | 0 0
  1. scriptencoding utf-8
  2. set encoding=utf-8
  3.  
  4. set nocompatible              " be iMproved, required
  5. filetype off                  " required
  6.  
  7. " set the runtime path to include Vundle and initialize
  8. set rtp+=~/.vim/bundle/Vundle.vim
  9. call vundle#begin()
  10. " alternatively, pass a path where Vundle should install plugins
  11. "call vundle#begin('~/some/path/here')
  12.  
  13. " let Vundle manage Vundle, required
  14. Plugin 'VundleVim/Vundle.vim'
  15.  
  16. " The following are examples of different formats supported.
  17. " Keep Plugin commands between vundle#begin/end.
  18. " plugin on GitHub repo
  19. Plugin 'tpope/vim-fugitive'
  20. " plugin from http://vim-scripts.org/vim/scripts.html
  21. " Plugin 'L9'
  22. " Git plugin not hosted on GitHub
  23. Plugin 'git://git.wincent.com/command-t.git'
  24. " git repos on your local machine (i.e. when working on your own plugin)
  25.  
  26. Plugin 'file:///home/gmarik/path/to/plugin'
  27. " The sparkup vim script is in a subdirectory of this repo called vim.
  28. " Pass the path to set the runtimepath properly.
  29. Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
  30. " Install L9 and avoid a Naming conflict if you've already installed a
  31. " different version somewhere else.
  32. " Plugin 'ascenator/L9', {'name': 'newL9'}
  33.  
  34. Plugin 'vim-airline/vim-airline'
  35. Plugin 'vim-airline/vim-airline-themes'
  36.  
  37.  
  38. " All of your Plugins must be added before the following line
  39. call vundle#end()            " required
  40. filetype plugin indent on    " required
  41. " To ignore plugin indent changes, instead use:
  42. "filetype plugin on
  43. "
  44. " Brief help
  45. " :PluginList       - lists configured plugins
  46. " :PluginInstall    - installs plugins; append `!` to update or just :PluginUpdate
  47. " :PluginSearch foo - searches for foo; append `!` to refresh local cache
  48. " :PluginClean      - confirms removal of unused plugins; append `!` to auto-approve removal
  49. "
  50. " see :h vundle for more details or wiki for FAQ
  51. " Put your non-Plugin stuff after this line
  52.  
  53.  
  54. set number
  55. syntax on
  56.  
  57. set cursorline
  58. hi CursorLine   cterm=NONE ctermbg=black  guibg=darkred
  59. hi CursorLineNR cterm=NONE ctermbg=black  guibg=darkred
  60.  
  61. hi lschrs cterm=NONE ctermfg=darkgray guifg=gray30
  62. match lschrs /$/
  63. 2match lschrs /\t/
  64.  
  65. filetype plugin indent on
  66.  
  67. set tabstop=4
  68. set shiftwidth=4
  69.  
  70. set list
  71. set listchars=tab:\|\ ,trail:·,eol:¬
  72.  
  73.  
  74. let g:airline_theme='wombat'
  75. let g:airline#extensions#tabline#enabled = 1
  76. let g:airline_powerline_fonts = 1
  77.  
  78. if !exists('g:airline_symbols')
  79.     let g:airline_symbols = {}
  80. endif
  81.  
  82. " unicode symbols
  83. let g:airline_left_sep = '»'
  84. let g:airline_left_sep = '▶'
  85. let g:airline_right_sep = '«'
  86. let g:airline_right_sep = '◀'
  87. let g:airline_symbols.linenr = '␊'
  88. let g:airline_symbols.linenr = '␤'
  89. let g:airline_symbols.linenr = '¶'
  90. let g:airline_symbols.branch = '⎇'
  91. let g:airline_symbols.paste = 'ρ'
  92. let g:airline_symbols.paste = 'Þ'
  93. let g:airline_symbols.paste = '∥'
  94. let g:airline_symbols.whitespace = 'Ξ'
  95.  
  96. " airline symbols
  97. let g:airline_left_sep = ''
  98. let g:airline_left_alt_sep = ''
  99. let g:airline_right_sep = ''
  100. let g:airline_right_alt_sep = ''
  101. let g:airline_symbols.branch = ''
  102. let g:airline_symbols.readonly = ''
  103. let g:airline_symbols.linenr = ''
  104.  
  105. set cmdheight=1
  106. set cmdwinheight=1
  107.  
  108. au BufRead,BufNewFile *.vh set filetype=ruby
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement