Add airlinetheme

This commit is contained in:
2019-10-18 22:34:06 +01:00
parent b4e12f7117
commit 5e33d3e53b

9
vimrc
View File

@@ -14,15 +14,16 @@ call plug#begin('~/.vim/plugged')
Plug 'tpope/vim-fugitive' Plug 'tpope/vim-fugitive'
Plug 'junegunn/gv.vim' Plug 'junegunn/gv.vim'
Plug 'christoomey/vim-tmux-navigator' " Plug 'christoomey/vim-tmux-navigator'
Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'scrooloose/nerdtree' Plug 'scrooloose/nerdtree'
" be sure to read full install instructions. this still needs " be sure to read full install instructions. this still needs
" you to cd ~/.vim/plugged/YouCompleteMe " you to cd ~/.vim/plugged/YouCompleteMe
" python ./install.py --js-completer " python ./install.py --js-completer
Plug 'Valloric/YouCompleteMe' " Plug 'Valloric/YouCompleteMe'
Plug 'posva/vim-vue' Plug 'posva/vim-vue'
Plug 'ap/vim-css-color' Plug 'ap/vim-css-color'
@@ -73,6 +74,7 @@ set wildignore+=deps/*,*.sw?
" set background=light " set background=light
" source ~/.vim/colors/midnight.vim " source ~/.vim/colors/midnight.vim
color desert color desert
let g:airline_theme=papercolor
" enable syntax highlighting if it is supported " enable syntax highlighting if it is supported
if has("syntax") if has("syntax")
@@ -304,7 +306,10 @@ map <F2> :Files<CR>
map <C-P> :Files<CR> map <C-P> :Files<CR>
nnoremap <silent> <leader>m :FZFMru<CR> nnoremap <silent> <leader>m :FZFMru<CR>
map <F3> :Ag <C-R>=expand("<cword>")<CR><CR> map <F3> :Ag <C-R>=expand("<cword>")<CR><CR>
nnoremap <leader>f :Ag <C-R>=expand("<cword>")<CR><CR>
" use F4 to jump into and out of hex editing. Bit dangerous for normal use... " use F4 to jump into and out of hex editing. Bit dangerous for normal use...
" map <F4> :set binary<CR>:%!xxd<CR> " map <F4> :set binary<CR>:%!xxd<CR>