Browse Source

Added Airline plugin to VIM

master
Bryan Miller 3 years ago
parent
commit
628906ca22
No known key found for this signature in database
3 changed files with 54 additions and 0 deletions
  1. +3
    -0
      vim/.vimrc
  2. +48
    -0
      vim/airline.vim
  3. +3
    -0
      vim/plugins.vim

+ 3
- 0
vim/.vimrc View File

@@ -5,6 +5,9 @@ so ~/.vim/cs.vim
colorscheme zenburn
"colorscheme wal.vim

" Config for Airline
so ~/.vim/airline.vim

" Defaults for OmniSharp
so ~/.vim/cs.vim
" -- DONE

+ 48
- 0
vim/airline.vim View File

@@ -0,0 +1,48 @@
" Settings in this file were originally borrowed from...
" https://gist.github.com/jdavid82/d40f40e6f124aad6223eba0ff0c7ad65

" to see the full path of the editing file
let g:airline#extensions#tabline#formatter = 'unique_tail'

let g:airline_powerline_fonts = 1

" show branch information
let g:airline#extensions#branch#enabled = 1
let g:airline_theme='badwolf'

if !exists('g:airline_symbols')
let g:airline_symbols = {}
endif

" unicode symbols
let g:airline_left_sep = '»'
let g:airline_left_sep = '▶'
let g:airline_right_sep = '«'
let g:airline_right_sep = '◀'
let g:airline_symbols.crypt = '🔒'
let g:airline_symbols.linenr = '☰'
let g:airline_symbols.linenr = '␊'
let g:airline_symbols.linenr = '␤'
let g:airline_symbols.linenr = '¶'
let g:airline_symbols.maxlinenr = ''
let g:airline_symbols.maxlinenr = '㏑'
let g:airline_symbols.branch = '⎇'
let g:airline_symbols.paste = 'ρ'
let g:airline_symbols.paste = 'Þ'
let g:airline_symbols.paste = '∥'
let g:airline_symbols.spell = 'Ꞩ'
let g:airline_symbols.notexists = 'Ɇ'
let g:airline_symbols.whitespace = 'Ξ'

" powerline symbols
let g:airline_left_sep = ''
let g:airline_left_alt_sep = ''
let g:airline_right_sep = ''
let g:airline_right_alt_sep = ''
let g:airline_symbols.branch = ''
let g:airline_symbols.readonly = ''
let g:airline_symbols.linenr = '☰'
let g:airline_symbols.maxlinenr = ''
let g:airline_symbols.dirty='⚡'

let g:airline#extensions#tabline#enabled = 1

+ 3
- 0
vim/plugins.vim View File

@@ -10,10 +10,13 @@ call vundle#begin()
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
Plugin 'scrooloose/nerdtree'
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
Plugin 'airblade/vim-gitgutter'
Plugin 'bf4/vim-dark_eyes'
Plugin 'OmniSharp/omnisharp-vim'
Plugin 'dense-analysis/ale'
Plugin 'ycm-core/YouCompleteMe'
Plugin 'jnurmine/Zenburn'

" All of your Plugins must be added before the following line

Loading…
Cancel
Save