From: Oleg Broytman Date: Sun, 13 Jul 2014 18:49:23 +0000 (+0400) Subject: Use nr2char(127) X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=9f600768a235bc0f4c2fe1e2e76582baec921130;p=dotfiles.git Use nr2char(127) Don't include a control character in a text file. --- 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 '*'