aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vimrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 93557f8..424e03e 100644
--- a/vimrc
+++ b/vimrc
@@ -76,6 +76,14 @@ nmap <F8> :TagbarToggle<CR>
highlight ExtraWhitespace ctermbg=red
autocmd Syntax * syn match ExtraWhitespace /\s\+$\| \+\ze\t/
+" Workaround for tmux paging issue
+if &term =~ '256color'
+ " disable Background Color Erase (BCE) so that color schemes
+ " render properly when inside 256-color tmux and GNU screen.
+ " see also http://snk.tuxfamily.org/log/vim-256color-bce.html
+ set t_ut=
+endif
+
" Python files
autocmd BufRead,BufNewFile *.py :setlocal
\ tabstop=4