Guest User

Untitled

a guest
Sep 24th, 2021
41
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. " diable compatibility with vi
  2. set nocompatible
  3.  
  4. " File detection
  5. filetype on
  6.  
  7. " Enabling plugins
  8. filetype plugin on
  9.  
  10. " Intents
  11. filetype indent on
  12. set shiftwidth=4
  13. set expandtab
  14. set tabstop=4
  15.  
  16. " Basic
  17. set nobackup
  18. set scrolloff=10
  19. set nowrap
  20. set incsearch
  21. set ignorecase
  22. set smartcase
  23. set showcmd
  24. set showmode
  25. set showmatch
  26. set hlsearch
  27. set history=1000
  28. set mouse=a
  29.  
  30.  
  31. " Syntax highlighting
  32. syntax on
  33.  
  34. " line numbers
  35. set number
  36.  
  37. " cursor detect
  38. " set cursorline
  39. " set cursorcolumn
  40.  
  41. " autocomplete
  42. set wildmenu
  43. set wildmode=list:longest
  44. set wildignore=*.docx,*.jpg,*.png,*.gif,*.pdf,*.pyc,*.exe,*.flv,*.img,*.xlsx
  45.  
  46.  
  47. " PLUGINS --------------------------------{{{
  48.  
  49.  
  50. call plug#begin('~/.vim/plugged')
  51.  
  52.   Plug 'dense-analysis/ale'
  53.   Plug 'preservim/nerdtree'
  54.   Plug 'dracula/vim', { 'as': 'dracula' }
  55.   Plug 'kyoz/purify', { 'rtp': 'vim' }
  56.   Plug 'vim-airline/vim-airline'
  57.   Plug 'vim-airline/vim-airline-themes'
  58.  
  59. call plug#end()
  60.  
  61. " }}}
  62.  
  63. " Theme
  64. colorscheme purify
  65. " hi Normal guibg=#252834 ctermbg=234
  66.  
  67. " Airline
  68. let g:airline#extensions#tabline#enabled = 1 " Enable the list of buffers
  69. let g:airline#extensions#tabline#formatter = 'default'  " f/p/file-name.js
  70. let g:airline#extensions#tabline#formatter = 'jsformatter' " path-to/f
  71. let g:airline#extensions#tabline#formatter = 'unique_tail' " file-name.js
  72. let g:airline#extensions#tabline#formatter = 'unique_tail_improved' "f/p/file-name.
  73. let g:airline_theme='purify'
  74.  
  75. let g:purify_bold = 0        " default: 1
  76. let g:purify_italic = 0      " default: 1
  77. let g:purify_underline = 0   " default: 1
  78. let g:purify_undercurl = 0   " default: 1
  79. let g:purify_inverse = 0     " default: 1
  80.  
  81. let g:purify_override_colors = {
  82.         \ 'pink':  { 'gui': '#FF87FF', 'cterm': '213' },
  83.     \ 'green': { 'gui': '#5FD700', 'cterm': '76' }
  84.     \ }
RAW Paste Data