From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 37eb3ad9 for ; Thu, 9 Jan 2020 00:06:50 +0000 (UTC) Received: (qmail 12484 invoked by alias); 9 Jan 2020 00:06:41 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 24612 Received: (qmail 20982 invoked by uid 1010); 9 Jan 2020 00:06:41 -0000 X-Qmail-Scanner-Diagnostics: from mail-lf1-f50.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.1/25684. spamassassin: 3.4.2. Clear:RC:0(209.85.167.50):SA:0(-2.0/5.0):. Processed in 1.558125 secs); 09 Jan 2020 00:06:41 -0000 X-Envelope-From: butirsky@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.167.50 as permitted sender) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=UDzwBzjMR+uGH15QC8Cnuq3RvM3NrkzLW641U2Gg8LE=; b=DJ3iQKdqvL/UATRPVLUB+s4pa2CbJmWZ0wdW5syNfe1J+ryHLWYM8Byaem01R9WhZi wFVrYEbuA+lIJOdSEz4U7eXFftl2eY1EZe1tyoFBEaxYFfV8J2CMEca7KOoiLW4rr3on +rBbdf6b7Q6DPzKlrVj9ry66ne8Lga9cJTl3W3K2CKjAY84imWPEP8yY8ixt2cEj7NXH qX7fBFnIpHpkvO2qV3suIJPYRhdqrMc+Q2wcPiUS8nojmdmNtO4E7hUTwx4jNyrb0fTu nMKLPVUKQfZvjA7FAorkXuQRoFH2de3bfAWKnwDoC2MX+1KGH3DHn/RmQTHC+GDYV3JQ dJlw== X-Gm-Message-State: APjAAAWAi9weQJbnKkAVVeTQ4jFJDn3S7NPo8Sa9xaFVCZjUzFG9pDqW 4Y/1RvGT32zNkOxd1jGUR79a/bd/ X-Google-Smtp-Source: APXvYqx5vtZHpV6vJ2TUhJZXnJazuUKDLypP0OeQPG7kGuBmfdf++GiA254k9oEAaBufqBUmeXrZUQ== X-Received: by 2002:ac2:5195:: with SMTP id u21mr4410087lfi.141.1578528364399; Wed, 08 Jan 2020 16:06:04 -0800 (PST) Subject: Re: emulate bash key bindings To: Zsh Users References: <1578477603.6726.5.camel@samsung.com> <3e056cff-f690-f416-d8b6-89059c64187a@gmail.com> From: Andrey Butirsky Message-ID: <8056285c-d4df-a2fb-8ec3-a245abb81ff3@gmail.com> Date: Thu, 9 Jan 2020 03:05:42 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Thunderbird/72.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US On 09.01.2020 01:23, Daniel Shahaf wrote: > Roman Perepelitsa wrote on Wed, 08 Jan 2020 22:03 +00:00: >> On Wed, Jan 8, 2020 at 10:57 PM Andrey Butirsky wrote: >>> But binding with dot-prefixed widget names seem the most compact >>> solution for me: "bindkey '^w' .backward-kill-word", thanks! >> Keep in mind that binding dot-prefixed widget names breaks plugins >> that wrap widgets. Includes the most useful plugins out there such as >> zsh-syntax-highlighting and zsh-autosuggestions. It also breaks many >> themes including powerlevel10k. > That's true for z-sy-h's master branch, but with the feature/redrawhook > branch (due to be merged after 0.7.0's release) highlighting will be > refreshed even by invocations of dot-prefixed widgets. > > Cheers, > > Daniel Sorry I'm not using any plugins yet so can't try, could you explain how binding dot-prefixed widget in my case can break something? Is it mentioned in the documentation?