summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2014-06-21 19:15:27 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2014-06-21 19:15:27 -0700
commita5c4ce1f50e1d5639b920c9d62bd4a682751c53b (patch)
tree26e34d1425e42680fa4e551f8172707162a20934
parent36653f4252e3fe37822645ee1e72a39ae3c43ca5 (diff)
downloaddotfiles-a5c4ce1f50e1d5639b920c9d62bd4a682751c53b.tar.gz
dotfiles-a5c4ce1f50e1d5639b920c9d62bd4a682751c53b.tar.xz
Allow 256 colour vim themes in screen.
-rw-r--r--vimrc7
1 files changed, 6 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index ed570d0..bc42f7c 100644
--- a/vimrc
+++ b/vimrc
@@ -1,5 +1,9 @@
let g:inkpot_black_background = 1
+if &term =~ 'screen'
+ set t_Co=256
+endif
+
colorscheme inkpot
filetype on
syntax on
@@ -22,7 +26,8 @@ set tabstop=4
set ignorecase
set incsearch
-set nohlsearch
+set hlsearch
+set scrolloff=4
set foldenable