From: Simon Ruderich Date: Tue, 20 Nov 2012 21:01:57 +0000 (+0100) Subject: vimrc: Enable fast terminal mode in GNU screen and tmux. X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=commitdiff_plain;h=1fbfa10398fe6d78c97b1ab12d7f8ac9ff9ff50f vimrc: Enable fast terminal mode in GNU screen and tmux. --- 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.