vimrc cleanup
This commit is contained in:
parent
12a6c1449f
commit
22e971530c
1 changed files with 27 additions and 25 deletions
52
.vimrc
52
.vimrc
|
@ -1,39 +1,41 @@
|
||||||
" Shortcut to rapidly toggle `set list`
|
" file settings
|
||||||
nmap <leader>l :set list!<CR>
|
set noswapfile
|
||||||
" Use the same symbols as TextMate for tabstops and EOLs
|
set encoding=utf-8
|
||||||
set listchars=tab:▸\ ,eol:¬
|
|
||||||
|
|
||||||
|
" colours
|
||||||
|
set t_Co=256
|
||||||
|
syntax on
|
||||||
|
set background=dark
|
||||||
|
color solarized
|
||||||
|
colorscheme solarized
|
||||||
|
|
||||||
|
" special chars
|
||||||
|
nmap <leader>l :set list!<CR>
|
||||||
|
set listchars=tab:▸\ ,eol:¬
|
||||||
|
highlight NonText guifg=#4a4a59
|
||||||
|
highlight SpecialKey guifg=#4a4a59
|
||||||
|
|
||||||
|
" tabs and spaces
|
||||||
set tabstop=4
|
set tabstop=4
|
||||||
set softtabstop=4
|
set softtabstop=4
|
||||||
set shiftwidth=4
|
set shiftwidth=4
|
||||||
set expandtab
|
set expandtab
|
||||||
|
|
||||||
"Invisible character colors
|
" plugins
|
||||||
highlight NonText guifg=#4a4a59
|
|
||||||
highlight SpecialKey guifg=#4a4a59
|
|
||||||
|
|
||||||
set t_Co=256
|
|
||||||
syntax on
|
|
||||||
|
|
||||||
set background=dark
|
|
||||||
color solarized
|
|
||||||
colorscheme solarized
|
|
||||||
|
|
||||||
set noswapfile
|
|
||||||
set encoding=utf-8
|
|
||||||
|
|
||||||
execute pathogen#infect()
|
execute pathogen#infect()
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
|
|
||||||
"always show statusline
|
" plugins: airline
|
||||||
set laststatus=2
|
|
||||||
"don't show default mode indicators
|
|
||||||
set noshowmode
|
|
||||||
"airline
|
|
||||||
let g:bufferline_echo = 0
|
let g:bufferline_echo = 0
|
||||||
let g:airline_powerline_fonts = 1
|
let g:airline_powerline_fonts = 1
|
||||||
let g:airline#extensions#tabline#enabled = 1
|
let g:airline#extensions#tabline#enabled = 1
|
||||||
|
|
||||||
" clear sign column, for git gutter etc
|
|
||||||
highlight clear SignColumn
|
" appearance
|
||||||
|
highlight clear SignColumn
|
||||||
|
"highlight SignColumn ctermbg=brblack
|
||||||
|
set relativenumber
|
||||||
|
set laststatus=2
|
||||||
|
set noshowmode
|
||||||
|
set showtabline=1 "only show tabline when more than 1 tab
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue