zsh-users
 help / color / mirror / code / Atom feed
From: DervishD <zsh@dervishd.net>
To: Nick Croft <nicko@acay.com.au>
Cc: zsh-users@sunsite.dk
Subject: Re: bindkey -v and alt-. for previous cmd arg
Date: Wed, 3 Nov 2004 20:57:00 +0100	[thread overview]
Message-ID: <20041103195700.GA23399@DervishD> (raw)
In-Reply-To: <20041103194444.GB1476@tandv.ws>

    Hi Nick :)

 * Nick Croft <nicko@acay.com.au> dixit:
> >     I don't use zsh 4.2.x yet, but it seems that your problem is that
> > 'Alt-.' is no longer bound in the 'viins' keymap. Do it yourself:
> > 
> >     bindkey -m viins '\e.' insert-last-word
> > 
> >     Note that I've used 'Esc-.' instead of 'Alt-.' because I don't
> > know how to bind Alt sequences :? In fact, 'insert-last-word' is
> > bound to 'Esc-.' by default in 4.0.9
> > 
> >     Hope this helps.
> > 
> That DID help. Actually zsh didn't accept so many arguments, so 
> I used "bindkey '\e.' insert-last-word". This seems to allow the widget to
> be used with alt as well.

    Sorry, my fault. You cannot select a keymap and bind a key at the
same time. Anyway, since you already did 'bindkey -v' the 'viins'
keymap is selected so the key binding is placed in the appropriate
place.

    Just one more question: do your 'alt-.' key combo works the same
as 'esc-.'? Here I only can do the 'esc-.' combo, the alt-. doesn't
work because I don't have any action defined for 'alt-.' in my keymap
(I use Linux). Just curiosity O:)

    Raúl Núñez de Arenas Coronado

-- 
Linux Registered User 88736
http://www.dervishd.net & http://www.pleyades.net/


  reply	other threads:[~2004-11-03 19:56 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-03 12:48 Nick Croft
2004-11-03 13:53 ` DervishD
2004-11-03 19:44   ` Nick Croft
2004-11-03 19:57     ` DervishD [this message]
2004-11-03 20:01       ` DervishD
2004-11-04 11:43         ` Nick Croft
2004-11-04 12:03           ` DervishD
2004-11-04 12:16           ` Peter Stephenson
2004-11-04 14:20           ` Matthias B.
2004-11-04 14:33             ` Chris Johnson
2004-11-04 19:43               ` Nick Croft
2004-11-07 11:53             ` Nick Croft
2004-11-07 13:29               ` Matthias B.
2004-11-09 11:18                 ` Nick Croft

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041103195700.GA23399@DervishD \
    --to=zsh@dervishd.net \
    --cc=nicko@acay.com.au \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).