fixed some airline stuff/
This commit is contained in:
parent
87fa984e25
commit
b5c2b00a80
|
@ -13,7 +13,7 @@ source "$DOTFILES_PATH/scripts/get_color.sh"
|
|||
|
||||
export BAR_ON_XINIT=0
|
||||
export BAR_FIFO="$DOTFILES_PATH/wm_bar_fifo.lock"
|
||||
export BAR_TOP=0
|
||||
export BAR_TOP=1
|
||||
export BAR_MARGIN=$WINDOW_GAP
|
||||
export BAR_HEIGHT=28
|
||||
export BAR_BORDER_WIDTH=2
|
||||
|
|
|
@ -16,18 +16,19 @@ Plug 'junegunn/vim-plug'
|
|||
|
||||
" plugins
|
||||
|
||||
Plug 'bling/vim-airline' " statusline
|
||||
let g:airline_powerline_fonts = 0
|
||||
Plug 'vim-airline/vim-airline' " statusline
|
||||
" 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#fnamemod = ':t'
|
||||
set laststatus=2 " always show statusline
|
||||
set noshowmode " hides default mode
|
||||
" set laststatus=2 " always show statusline
|
||||
" set noshowmode " hides default mode
|
||||
let g:airline#extensions#tabline#left_sep = ''
|
||||
let g:airline#extensions#tabline#left_alt_sep = ''
|
||||
let g:airline_right_alt_sep = ''
|
||||
let g:airline_right_sep = ''
|
||||
let g:airline_left_alt_sep= ''
|
||||
let g:airline_left_sep = ''
|
||||
Plug 'vim-airline/vim-airline-themes'
|
||||
|
||||
Plug 'scrooloose/nerdtree', {'on': ['NERDTreeToggle', 'NERDTree']} " nice sidebar for files
|
||||
let g:NERDTreeDirArrowExpandable = ' '
|
||||
|
@ -189,6 +190,9 @@ set autochdir
|
|||
set autoread
|
||||
set nomodeline
|
||||
|
||||
" yank to OS clipboard
|
||||
set clipboard+=unnamed
|
||||
|
||||
" allows for manual and syntax folding... supposedly
|
||||
augroup vimrc
|
||||
au BufReadPre * setlocal foldmethod=indent
|
||||
|
|
Reference in a new issue