Advertisement
Guest User

Untitled

a guest
Oct 25th, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VIM 2.58 KB | None | 0 0
  1. set nocompatible              " be iMproved, required
  2. filetype off                  " required
  3.  
  4. " set the runtime path to include Vundle and initialize
  5. set rtp+=~/.vim/bundle/Vundle.vim
  6. call vundle#begin()
  7. " alternatively, pass a path where Vundle should install plugins
  8. "call vundle#begin('~/some/path/here')
  9.  
  10. " let Vundle manage Vundle, required
  11. Plugin 'VundleVim/Vundle.vim'
  12.  
  13. " The following are examples of different formats supported.
  14. " Keep Plugin commands between vundle#begin/end.
  15. " plugin on GitHub repo
  16. Plugin 'tpope/vim-fugitive'
  17. " plugin from http://vim-scripts.org/vim/scripts.html
  18. " Plugin 'L9'
  19. " Git plugin not hosted on GitHub
  20. Plugin 'git://git.wincent.com/command-t.git'
  21. " git repos on your local machine (
  22. " Plugin 'file:///home//path/to/plugin'
  23. " The sparkup vim script is in a subdirectory of this repo called vim.
  24. " Pass the path to set the runtimepath properly."
  25.  
  26. Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
  27. " Install L9 and avoid a Naming conflict if you've already installed a
  28. " different version somewhere else.
  29. " Plugin 'ascenator/L9', {'name': 'newL9'}
  30.  
  31. " All of your Plugins must be added before the following line
  32. Plugin 'scrooloose/nerdtree'
  33. Plugin 'itchyny/lightline.vim'
  34. Plugin 'nanotech/jellybeans.vim'
  35. Plugin 'flazz/vim-colorschemes'
  36. call vundle#end()            " required
  37. filetype plugin indent on    " required
  38.  
  39.  
  40. " To ignore plugin indent changes, instead use:
  41. "filetype plugin on
  42. "
  43. " Brief help
  44. " :PluginList       - lists configured plugins
  45. " :PluginInstall    - installs plugins; append `!` to update or just :PluginUpdate
  46. " :PluginSearch foo - searches for foo; append `!` to refresh local cache
  47. " :PluginClean      - confirms removal of unused plugins; append `!` to auto-approve removal
  48. "
  49. " see :h vundle for more details or wiki for FAQ
  50. " Put your non-Plugin stuff after this line
  51.  
  52.  
  53. "binds:
  54.  
  55. map <C-o> :NERDTreeToggle<CR>
  56. set laststatus=2
  57.  
  58.  
  59. let g:lightline = {
  60.       \ 'colorsheme': 'jellybeans',
  61.       \ 'component_function': {
  62.       \   'filename': 'LightlineFilename',
  63.       \ },
  64.       \ }
  65.  
  66. function! LightlineFilename()
  67.   return &filetype ==# 'vimfiler' ? vimfiler#get_status_string() :
  68.         \ &filetype ==# 'unite' ? unite#get_status_string() :
  69.         \ &filetype ==# 'vimshell' ? vimshell#get_status_string() :
  70.         \ expand('%:t') !=# '' ? expand('%:t') : '[No Name]'
  71. endfunction
  72.  
  73. let g:unite_force_overwrite_statusline = 0
  74. let g:vimfiler_force_overwrite_statusline = 0
  75. let g:vimshell_force_overwrite_statusline = 0
  76.  
  77.  
  78. set shell=/bin/bash
  79. set tabstop=4
  80. set expandtab
  81. set shiftwidth=4
  82. colorscheme Revolution
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement