fixed some airline stuff/

This commit is contained in:
Daniel Flanagan 2016-03-29 20:16:43 -05:00
parent 87fa984e25
commit b5c2b00a80
2 changed files with 9 additions and 5 deletions

View file

@ -13,7 +13,7 @@ source "$DOTFILES_PATH/scripts/get_color.sh"
export BAR_ON_XINIT=0 export BAR_ON_XINIT=0
export BAR_FIFO="$DOTFILES_PATH/wm_bar_fifo.lock" export BAR_FIFO="$DOTFILES_PATH/wm_bar_fifo.lock"
export BAR_TOP=0 export BAR_TOP=1
export BAR_MARGIN=$WINDOW_GAP export BAR_MARGIN=$WINDOW_GAP
export BAR_HEIGHT=28 export BAR_HEIGHT=28
export BAR_BORDER_WIDTH=2 export BAR_BORDER_WIDTH=2

View file

@ -16,18 +16,19 @@ Plug 'junegunn/vim-plug'
" plugins " plugins
Plug 'bling/vim-airline' " statusline Plug 'vim-airline/vim-airline' " statusline
let g:airline_powerline_fonts = 0 " let g:airline_powerline_fonts = 0
let g:airline#extensions#tabline#enabled = 1 " automatically displays all buffers when there's only one tab open let g:airline#extensions#tabline#enabled = 1 " automatically displays all buffers when there's only one tab open
let g:airline#extensions#tabline#fnamemod = ':t' let g:airline#extensions#tabline#fnamemod = ':t'
set laststatus=2 " always show statusline " set laststatus=2 " always show statusline
set noshowmode " hides default mode " set noshowmode " hides default mode
let g:airline#extensions#tabline#left_sep = '' let g:airline#extensions#tabline#left_sep = ''
let g:airline#extensions#tabline#left_alt_sep = '' let g:airline#extensions#tabline#left_alt_sep = ''
let g:airline_right_alt_sep = '' let g:airline_right_alt_sep = ''
let g:airline_right_sep = '' let g:airline_right_sep = ''
let g:airline_left_alt_sep= '' let g:airline_left_alt_sep= ''
let g:airline_left_sep = '' let g:airline_left_sep = ''
Plug 'vim-airline/vim-airline-themes'
Plug 'scrooloose/nerdtree', {'on': ['NERDTreeToggle', 'NERDTree']} " nice sidebar for files Plug 'scrooloose/nerdtree', {'on': ['NERDTreeToggle', 'NERDTree']} " nice sidebar for files
let g:NERDTreeDirArrowExpandable = ' ' let g:NERDTreeDirArrowExpandable = ' '
@ -189,6 +190,9 @@ set autochdir
set autoread set autoread
set nomodeline set nomodeline
" yank to OS clipboard
set clipboard+=unnamed
" allows for manual and syntax folding... supposedly " allows for manual and syntax folding... supposedly
augroup vimrc augroup vimrc
au BufReadPre * setlocal foldmethod=indent au BufReadPre * setlocal foldmethod=indent