Configuration file for vim on macos
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
1.4 KiB

  1. " ------------------
  2. " __
  3. " .--.--.|__|.--------.----.----.
  4. " | | || || | _| __|
  5. " \___/ |__||__|__|__|__| |____|
  6. " ------------------
  7. "
  8. " Basic settings
  9. " --------------
  10. set nocompatible
  11. filetype plugin indent on
  12. syntax enable
  13. set number relativenumber
  14. set path+=**
  15. set wildmode=longest,list,full
  16. set encoding=UTF-8
  17. set cursorline
  18. set showmatch " matching brackets
  19. set linebreak
  20. set ignorecase " case insensitive matching
  21. set smartcase " smart case matching
  22. "set clipboard+=unnamedplus
  23. set mouse=a
  24. set tabstop=4
  25. set shiftwidth=4
  26. set softtabstop=4
  27. set spelllang=en_us
  28. set fillchars+=eob:~
  29. set showtabline=2
  30. set laststatus=2
  31. " ------------------
  32. " Basic styling
  33. " ------------------
  34. highlight Comment cterm=italic
  35. highlight CursorLine ctermbg=Black cterm=NONE
  36. highlight CursorLineNr ctermbg=Black cterm=bold ctermfg=Green
  37. highlight LineNr ctermbg=Black ctermfg=White
  38. " Plugin settings
  39. " ------------------
  40. call plug#begin()
  41. Plug 'https://github.com/Badacadabra/vim-archery'
  42. Plug 'vim-airline/vim-airline'
  43. Plug 'vim-airline/vim-airline-themes'
  44. call plug#end()
  45. " Theme configuration
  46. " ------------------
  47. colorscheme archery
  48. let g:airline_theme = 'archery'
  49. set t_Co=256
  50. let g:airline_powerline_fonts=1
  51. let g:airline#extensions#tabline#left_sep = ' '
  52. let g:airline#extensions#tabline#left_alt_sep = '|'
  53. let g:airline_symbols = {}
  54. let g:airline_symbols.colnr = ' ㏇:'