delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/09/04/16:49:06

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:subject:references:to:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=DYchGdI5OxTZGi5n
zJiyDr9wi45I3ipyxgCsKclWbSFUo0KuQCS4Hp1ZgE6JDGfRLg6bHZ0FaJ5/i5u7
Qs9FLvwLXVJSHGMuPL31tfiDWFygSctb0DITU4oxHfS2LtfIUD21fxW3/H+Gq0ZQ
3v8A52/RGuQJk1Q4jlXvOOD5zCQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:subject:references:to:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=q+vzOJWeo0qgCy4qAY0N6t
T4sUg=; b=lWITnQ5ONjRaDSFResvfVD8WjU0+iKsppgqUA4VCVlWEH4GmHJ5FgC
k7J/YXh69q5ZDLIA3nuTSaBhaWMGAJoD4CJe+xp5ByVxiW0UD7Tjzy7ur6Sp4tEn
dOszbxkBJR4DH7SFSKsgBZxOVMTovkgTK7Ds/A24ZZVww6MTncJiA=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.0 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,URI_TRY_3LD autolearn=no version=3.3.2 spammy=morris, Morris, calgary, Calgary
X-HELO: smtp-out-no.shaw.ca
X-Authority-Analysis: v=2.2 cv=VYS1Bxh9 c=1 sm=1 tr=0 a=WqCeCkldcEjBO3QZneQsCg==:117 a=WqCeCkldcEjBO3QZneQsCg==:17 a=IkcTkHD0fZMA:10 a=za3MSoKqAAAA:8 a=uPZiAMpXAAAA:8 a=b4eMD0GmHX_ZvWjD-W0A:9 a=QEXdDO2ut3YA:10 a=uzcwCr_b7bYA:10 a=LQGAJmsFRDlAZqxAFLki:22 a=svzibyHiZmA4t4YY0eFS:22
Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca
Subject: Re: updated vim broke arrow/delete keys
References: <20160904151924 DOT GA3782 AT gmail DOT com>
To: cygwin AT cygwin DOT com
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Message-ID: <dc4c8aa2-7af8-8f5a-7416-71ceb0b604b7@SystematicSw.ab.ca>
Date: Sun, 4 Sep 2016 14:48:17 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <20160904151924.GA3782@gmail.com>
X-CMAE-Envelope: MS4wfLa6FleVYZy1AZ+KA82YcigZfhVKFA+2hgfNzC6P436jqiqe3c0nZRnDhFAQLiNqdxkSM+uJhA7jeCyRq/Cafz3ZRKU8dIQtbsOwANePAqIZcuPFKm4I O6K+UtysS0+bzscwRpSQlZuJ09rtjIlIgiwtExPKrqvT59LWBKqh8a6zk7BoEMpUXlNGxOvVKlOjpA==
X-IsSubscribed: yes

On 2016-09-04 09:19, Felipe M. Vieira wrote:
> The motive:
> http://learnvimscriptthehardway.stevelosh.com/chapters/10.html

If the title alone does not put you off, it should be a warning,
and the author warns it is not a tutorial, it is one way to learn
how to customize vim, and I would add, should be done in a sandbox:
a separate account from your working account, and only after reading
the whole article from start to finish before trying anything,
as the impact of the changes is nowhere clearly explained, just what
the immediate effect is and whay that is considered desirable by the
author.

> The idea is to force yourself to use a faster escape key.
> the output of that command:
>   timeoutlen=1000
>   ttimeoutlen=-1
> I guess the final answer is the one from Randy Morris:
> https://stackoverflow.com/questions/8488232/how-to-disable-esc-and-cursor-keys-in-vim
> "In conclusion, don't remap escape, I almost guarantee you will have unexpected consequences."
> It feels like <esc> and some other keys are a combination of other keys as Erik
> pointed out.
> I'm going to send an email to the author of vimscript to add a warning or
> something like that.

Send the email to the author of the article Steve Losh, and
suggest his article could be improved by discussing the impact
of his changes, and not just the immediate effect; I suspect
the author of vim and its scripting language Bram Moolenaar
would be unlikely to suggest remapping <esc>!

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019