unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Christian Seberino <cseberino@gmail.com>
To: Perry Smith <pedz@easesoftware.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: trouble adding keyboard shortcut to ibuffer mode
Date: Fri, 26 Jun 2020 14:27:09 -0500	[thread overview]
Message-ID: <CAG5-5iK1710xHiwmmyhkOU-AxprY05AZo2LNCNb_Xy6q63-2YQ@mail.gmail.com> (raw)
In-Reply-To: <3177C6CE-DE49-445C-97C9-7391A4C3AD03@easesoftware.com>

Thanks so much.  That worked!

On Fri, Jun 26, 2020 at 12:43 PM Perry Smith <pedz@easesoftware.com> wrote:

> On Jun 26, 2020, at 10:25 AM, Christian Seberino <cseberino@gmail.com>
> wrote:
> >
> > The following does NOT reset C-o (Control key + o) in ibuffer mode.
> > Why not?
> >
> > (add-hook 'ibuffer-mode-hook '(lambda ()
> >                                      (global-set-key (kbd "C-o")
> > 'find-file)
> >                                      (ibuffer-auto-mode t)
> >
> > (ibuffer-switch-to-saved-filter-groups "")
> >                                      ))
>
> My guess is that you need to set that in ibuffer-mode-map.
>
>     (define-key ibuffer-mode-map (kbd "C-o”)
>
> in place of
>
>     (global-set-key …
>
> (This is 100% untested).
>
>


      reply	other threads:[~2020-06-26 19:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-26 15:25 trouble adding keyboard shortcut to ibuffer mode Christian Seberino
2020-06-26 17:43 ` Perry Smith
2020-06-26 19:27   ` Christian Seberino [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=CAG5-5iK1710xHiwmmyhkOU-AxprY05AZo2LNCNb_Xy6q63-2YQ@mail.gmail.com \
    --to=cseberino@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=pedz@easesoftware.com \
    /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.
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 read-only IMAP folder(s) and NNTP newsgroup(s).