diff options
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -23,6 +23,7 @@ set winminwidth=30 " (and all other windows | |||
23 | 23 | ||
24 | " AIRLINE: ===========================================. | 24 | " AIRLINE: ===========================================. |
25 | Plug 'vim-airline/vim-airline' | " beautification of the mode line | 25 | Plug 'vim-airline/vim-airline' | " beautification of the mode line |
26 | set laststatus=2 | " required by AirLine, without status line does not appear until a window split | ||
26 | let g:airline_detect_modified = 0 | | 27 | let g:airline_detect_modified = 0 | |
27 | let g:airline_detect_paste = 0 | | 28 | let g:airline_detect_paste = 0 | |
28 | let g:airline_exclude_preview = 1 | | 29 | let g:airline_exclude_preview = 1 | |
@@ -125,6 +126,12 @@ colorscheme base16-phd | |||
125 | " colorscheme base16-default-dark | 126 | " colorscheme base16-default-dark |
126 | " colorscheme vividchalk | " finally set which colorscheme to use | 127 | " colorscheme vividchalk | " finally set which colorscheme to use |
127 | 128 | ||
129 | |||
130 | " colorscheme customizations ========================= | ||
131 | " override colorscheme's background color in order to honor the terminals background transparency | ||
132 | hi normal ctermbg=none | ||
133 | |||
134 | |||
128 | " Shortcut mods =======================================. | 135 | " Shortcut mods =======================================. |
129 | inoremap <C-Space> <C-x><C-o> | 136 | inoremap <C-Space> <C-x><C-o> |
130 | "inoremap <C-@> <C-Space> | 137 | "inoremap <C-@> <C-Space> |
@@ -168,9 +175,9 @@ set thesaurus+=/home/max/.vim/thesaurus/php.txt | |||
168 | set hlsearch | " highlights all search matches (not as performant!) | 175 | set hlsearch | " highlights all search matches (not as performant!) |
169 | set textwidth=100 | " line length (80 used to be default, but...) | 176 | set textwidth=100 | " line length (80 used to be default, but...) |
170 | set splitbelow | " open new windows below the current one (i find that more intuitive) | 177 | set splitbelow | " open new windows below the current one (i find that more intuitive) |
171 | set laststatus=2 | ||
172 | set norelativenumber | 178 | set norelativenumber |
173 | set writedelay=0 | 179 | set writedelay=0 |
180 | set breakindent | " Every wrapped line will continue visually indented | ||
174 | 181 | ||
175 | if has("multi_byte") | 182 | if has("multi_byte") |
176 | set encoding=utf-8 | " we need default utf-8 encoding to use cool chars as line break and so on (see below) | 183 | set encoding=utf-8 | " we need default utf-8 encoding to use cool chars as line break and so on (see below) |
@@ -263,12 +270,6 @@ if has("autocmd") | |||
263 | endif | 270 | endif |
264 | 271 | ||
265 | 272 | ||
266 | |||
267 | |||
268 | |||
269 | |||
270 | |||
271 | |||
272 | " if filereadable(expand("~/.vimrc_background")) | 273 | " if filereadable(expand("~/.vimrc_background")) |
273 | " let base16colorspace=256 | 274 | " let base16colorspace=256 |
274 | " source ~/.vimrc_background | 275 | " source ~/.vimrc_background |