vimrc cleanup

This commit is contained in:
Cyryl Plotnicki-Chudyk 2013-10-26 09:07:26 +02:00
parent 12a6c1449f
commit 22e971530c

52
.vimrc
View file

@ -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