aboutsummaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
authorMax Christian Pohle2016-10-17 23:47:21 +0200
committerMax Christian Pohle2016-10-17 23:47:21 +0200
commit4b53f1d6d472c0a621d29d194e43c72e54d23ec3 (patch)
treec64157eb407bf3f450c7e29cebbdc97ae46b93ad /vimrc
parent6f1d9ec580188a9585d21d193a97f262e800b3d6 (diff)
downloadvim-karlmarks-4b53f1d6d472c0a621d29d194e43c72e54d23ec3.tar.bz2
vim-karlmarks-4b53f1d6d472c0a621d29d194e43c72e54d23ec3.zip
Allow terminal vim background transparency
added an option to keep automatically wrapped lines correctly indented
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc15
1 files changed, 8 insertions, 7 deletions
diff --git a/vimrc b/vimrc
index 418ce26..2af99e3 100644
--- a/vimrc
+++ b/vimrc
@@ -23,6 +23,7 @@ set winminwidth=30 " (and all other windows
23 23
24" AIRLINE: ===========================================. 24" AIRLINE: ===========================================.
25Plug 'vim-airline/vim-airline' | " beautification of the mode line 25Plug 'vim-airline/vim-airline' | " beautification of the mode line
26set laststatus=2 | " required by AirLine, without status line does not appear until a window split
26let g:airline_detect_modified = 0 | 27let g:airline_detect_modified = 0 |
27let g:airline_detect_paste = 0 | 28let g:airline_detect_paste = 0 |
28let g:airline_exclude_preview = 1 | 29let 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
132hi normal ctermbg=none
133
134
128" Shortcut mods =======================================. 135" Shortcut mods =======================================.
129inoremap <C-Space> <C-x><C-o> 136inoremap <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
168set hlsearch | " highlights all search matches (not as performant!) 175set hlsearch | " highlights all search matches (not as performant!)
169set textwidth=100 | " line length (80 used to be default, but...) 176set textwidth=100 | " line length (80 used to be default, but...)
170set splitbelow | " open new windows below the current one (i find that more intuitive) 177set splitbelow | " open new windows below the current one (i find that more intuitive)
171set laststatus=2
172set norelativenumber 178set norelativenumber
173set writedelay=0 179set writedelay=0
180set breakindent | " Every wrapped line will continue visually indented
174 181
175if has("multi_byte") 182if 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")
263endif 270endif
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
..