From a5c4ce1f50e1d5639b920c9d62bd4a682751c53b Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Sat, 21 Jun 2014 19:15:27 -0700 Subject: Allow 256 colour vim themes in screen. --- vimrc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2