add vim
This commit is contained in:
parent
8f371a32e9
commit
3f904f4c5c
1 changed files with 30 additions and 0 deletions
30
vim/.vimrc
Normal file
30
vim/.vimrc
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
set encoding=utf-8
|
||||||
|
set mouse=a
|
||||||
|
set nocompatible
|
||||||
|
set number
|
||||||
|
set tabstop=2
|
||||||
|
set softtabstop=2
|
||||||
|
set shiftwidth=2
|
||||||
|
set expandtab
|
||||||
|
set nowrap
|
||||||
|
set showcmd
|
||||||
|
syntax enable
|
||||||
|
set background=dark
|
||||||
|
let g:airline_theme='solarized'
|
||||||
|
let g:airline#extensions#tabline#enabled = 1
|
||||||
|
let g:solarized_termcolors = 16
|
||||||
|
let g:airline_powerline_fonts = 1
|
||||||
|
" let g:airline_symbols_ascii = 1
|
||||||
|
colorscheme solarized
|
||||||
|
|
||||||
|
|
||||||
|
call plug#begin('~/.vim/plugged')
|
||||||
|
|
||||||
|
Plug 'vim-airline/vim-airline'
|
||||||
|
Plug 'vim-airline/vim-airline-themes'
|
||||||
|
Plug 'fatih/vim-go'
|
||||||
|
Plug 'tpope/vim-fugitive'
|
||||||
|
|
||||||
|
call plug#end()
|
||||||
|
|
||||||
|
autocmd FileType rst setlocal tw=80
|
Loading…
Add table
Reference in a new issue