From 9f600768a235bc0f4c2fe1e2e76582baec921130 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 13 Jul 2014 22:49:23 +0400 Subject: [PATCH] Use nr2char(127) Don't include a control character in a text file. --- .vimrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.vimrc b/.vimrc index bf75518..0f51857 100644 --- a/.vimrc +++ b/.vimrc @@ -209,14 +209,14 @@ else endif if (&term =~ "linux") - set = + execute 'set t_kb=' . nr2char(127) else highlight MoreMsg cterm=bold ctermfg=NONE highlight Question cterm=bold ctermfg=NONE endif if (&term =~ "rxvt") || (&term =~ "screen") || (&term =~ "term") || (&term =~ "vt100") - set = + execute 'set t_kb=' . nr2char(127) " 'autoselect' to always put selected text on the clipboard; " 'unnamed' to use the * register like unnamed register '*' -- 2.39.5