Advertisement
Guest User

Untitled

a guest
Dec 22nd, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VIM 2.74 KB | None | 0 0
  1. " Ergonomic options
  2. set nocompatible
  3. syntax on
  4. set nowrap
  5. set encoding=utf8
  6. set nu
  7.  
  8. " Proper tabs
  9. set tabstop=4
  10. set shiftwidth=4
  11. set smarttab
  12. set expandtab
  13.  
  14. " Graphical options
  15. set cursorline
  16. hi CursorLine term=bold cterm=bold guibg=Grey13
  17. hi LineNr guifg=Grey40 guibg=Grey13
  18.  
  19. " Airline
  20. let g:airline#extensions#tabline#enabled = 1
  21. let g:airline_powerline_fonts = 1
  22.  
  23. " Theme
  24. set t_Co=256
  25. set background=dark
  26.  
  27. if (has("termguicolors"))
  28.     set termguicolors
  29. endif
  30.  
  31. let base16colorspace=256
  32.  
  33. " Mapping
  34. map <F7> :tabn<CR>
  35. map <F6> :tabp<CR>
  36. map <F5> :tabe
  37. map <C-e> :NERDTreeToggle<CR>
  38. map <C-t> :TagbarToggle<CR>
  39. map <A-Right> :vertical resize +1<CR>
  40. map <A-Left> :vertical resize -1<CR>
  41. " Explore customization
  42. let g:netrw_banner = 0
  43. let g:netrw_browse_split = 3
  44. let g:netrw_altv = 1
  45. let g:netwr_winsize = 25
  46.  
  47. set nocompatible              " be iMproved, required
  48. filetype off                  " required
  49.  
  50. " set the runtime path to include Vundle and initialize
  51. set rtp+=~/.vim/bundle/Vundle.vim
  52. call vundle#begin()
  53. " alternatively, pass a path where Vundle should install plugins
  54. "call vundle#begin('~/some/path/here')
  55.  
  56. " let Vundle manage Vundle, required
  57. Plugin 'VundleVim/Vundle.vim'
  58.  
  59. " Plugin list
  60. Plugin 'vim-airline/vim-airline'
  61. Plugin 'vim-airline/vim-airline-themes'
  62. Plugin 'scrooloose/nerdtree'
  63. Plugin 'majutsushi/tagbar'
  64.  
  65. " The following are examples of different formats supported.
  66. " Keep Plugin commands between vundle#begin/end.
  67. " plugin on GitHub repo
  68. " Plugin 'tpope/vim-fugitive'
  69. " plugin from http://vim-scripts.org/vim/scripts.html
  70. " Plugin 'L9'
  71. " Git plugin not hosted on GitHub
  72. " Plugin 'git://git.wincent.com/command-t.git'
  73. " git repos on your local machine (i.e. when working on your own plugin)
  74. " Plugin 'file:///home/gmarik/path/to/plugin'
  75. " The sparkup vim script is in a subdirectory of this repo called vim.
  76. " Pass the path to set the runtimepath properly.
  77. " Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
  78. " Install L9 and avoid a Naming conflict if you've already installed a
  79. " different version somewhere else.
  80. " Plugin 'ascenator/L9', {'name': 'newL9'}
  81.  
  82. " All of your Plugins must be added before the following line
  83. call vundle#end()            " required
  84. filetype plugin indent on    " required
  85. " To ignore plugin indent changes, instead use:
  86. "filetype plugin on
  87. "
  88. " Brief help
  89. " :PluginList       - lists configured plugins
  90. " :PluginInstall    - installs plugins; append `!` to update or just :PluginUpdate
  91. " :PluginSearch foo - searches for foo; append `!` to refresh local cache
  92. " :PluginClean      - confirms removal of unused plugins; append `!` to auto-approve removal
  93. "
  94. " see :h vundle for more details or wiki for FAQ
  95. " Put your non-Plugin stuff after this lineset tabstop=4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement