From 1fbfa10398fe6d78c97b1ab12d7f8ac9ff9ff50f Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Tue, 20 Nov 2012 22:01:57 +0100 Subject: [PATCH] vimrc: Enable fast terminal mode in GNU screen and tmux. --- vimrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/vimrc b/vimrc index 5bc468a..c594169 100644 --- a/vimrc +++ b/vimrc @@ -140,6 +140,15 @@ if has('eval') endif +" TERMINAL SETTINGS + +" Also enable fast terminal mode in GNU screen and tmux, but not for SSH +" connections. +if &term =~# '^screen' && !exists('$SSH_CONNECTION') + set ttyfast +endif + + " EDIT SETTINGS " Enable automatic file detection, plugin and indention support. -- 2.45.2