Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Is it possible to remap C-; in zsh?
- X-seq: zsh-users 15420
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Derek Thurn <derek@xxxxxxxx>
- Subject: Re: Is it possible to remap C-; in zsh?
- Date: Wed, 22 Sep 2010 00:25:55 +0200
- Cc: zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=KDTARcbuZ6XXiScJ8Wpb1zdoW/A92G8feogWDaglf7s=; b=pjRvADqRklquNs47B+nqg++/3A7EUm4EkgzduQHc+ysGzmIY+pXty17VWH8To39/oL W60KNFwUJl1+7zPflcNVo1mC9L8cDRQhhw7RWeHurE/hZlKVFriZhW8JLCN/Qw0iSPkh mwq35oKHJUXMxdMbJ/jGPSh8lQ7SUkTVCh67A=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=yIPOpY6bMRFGatPxVGozB/uOp1lUYLFBO44YxjR3jW6gv8s+d93lFbT852MCt6+5YC ynT1NyieiW25T3WHGQPX6FdQ5KSptjZ61K0yFt/lPhWscu0AAoOSKrYpNR9dT7ghKhZd 7+zs9mu7GSKDGhzeY6f0oJoDTtgIHImObjh3g=
- In-reply-to: <AANLkTin4jzXe85c99FDGDGynWjrqDGiDrvUWEAeL_wkG@xxxxxxxxxxxxxx>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <AANLkTin4jzXe85c99FDGDGynWjrqDGiDrvUWEAeL_wkG@xxxxxxxxxxxxxx>
On 22 September 2010 00:18, Derek Thurn <derek@xxxxxxxx> wrote:
> Hi,
>
> I'm a fan of remapping Ctrl+Semicolon, since it's conveniently on the home
> row. However, when I try and map it to something in zsh using bindkey, it
> doesn't let me. Am I out of luck if I want to bind this useful sequence to a
> zsh function?
There is no such character as ^; so most terminals just send a ; when
you press ctrl-;, this is true of many other ascii chars near that
range. If you can rebind the keycombo in your terminal you can bind
that in zsh, but that is specific to your particular terminal.
In urxvt you could put this in your x resources:
URxvt.keysym.C-semicolon: \033[50~
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author