Airline removal, don't forget to remove plugin folder
This commit is contained in:
parent
3379a64536
commit
b2706768d7
1 changed files with 5 additions and 8 deletions
13
vim/.vimrc
13
vim/.vimrc
|
|
@ -1,8 +1,6 @@
|
||||||
call plug#begin('~/.vim/plugged')
|
call plug#begin('~/.vim/plugged')
|
||||||
|
|
||||||
Plug 'https://github.com/scrooloose/nerdtree.git'
|
Plug 'https://github.com/scrooloose/nerdtree.git'
|
||||||
Plug 'https://github.com/vim-airline/vim-airline'
|
|
||||||
Plug 'https://github.com/vim-airline/vim-airline-themes'
|
|
||||||
Plug 'https://github.com/powerline/fonts'
|
Plug 'https://github.com/powerline/fonts'
|
||||||
Plug 'https://github.com/tpope/vim-fugitive'
|
Plug 'https://github.com/tpope/vim-fugitive'
|
||||||
|
|
||||||
|
|
@ -85,9 +83,14 @@ set pastetoggle=<F2>
|
||||||
"Default Colors for CursorLine
|
"Default Colors for CursorLine
|
||||||
set cursorline
|
set cursorline
|
||||||
|
|
||||||
|
hi statuslineNC cterm=none ctermbg=237
|
||||||
|
hi statusline cterm=none ctermbg=236
|
||||||
|
|
||||||
"Activate statusbar
|
"Activate statusbar
|
||||||
set laststatus=2
|
set laststatus=2
|
||||||
|
|
||||||
|
set statusline=\ %F\ %=\ %{hostname()}\ \ \ %{strlen(&ft)?&ft:'none'}\ %{(&bomb?\",BOM\":\"\")}\ %{&ff}\ \ %l/%L\ \ %c\ %m%r%w\ %P
|
||||||
|
|
||||||
"Remove trailing spaces on save
|
"Remove trailing spaces on save
|
||||||
autocmd BufWritePre * :%s/\s\+$//e
|
autocmd BufWritePre * :%s/\s\+$//e
|
||||||
|
|
||||||
|
|
@ -96,10 +99,4 @@ autocmd BufWritePre * :%s/\s\+$//e
|
||||||
" Nerdtree
|
" Nerdtree
|
||||||
map <C-e> :NERDTreeToggle<CR>
|
map <C-e> :NERDTreeToggle<CR>
|
||||||
|
|
||||||
" Airline
|
|
||||||
let g:airline_theme = 'distinguished'
|
|
||||||
let g:airline_section_y = '%{hostname()}'
|
|
||||||
let g:airline_section_b = '%{fugitive#statusline()}'
|
|
||||||
let g:airline_powerline_fonts = 1
|
|
||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue