summaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/.vimrc b/.vimrc
index c912ee9..d892da4 100644
--- a/.vimrc
+++ b/.vimrc
@@ -5,7 +5,9 @@
"----------------------------------------------------
set nocompatible
set encoding=utf-8 " unicode encoding
-set t_Co=256
+if &term =~# '^\(screen\|rxvt*\)$' "tty blinks otherwise
+ set t_Co=256
+endif
set nobackup
set expandtab
set tabstop=2