[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: binding ibuffer to C-x C-b by default
From: |
Dan Nicolaescu |
Subject: |
Re: binding ibuffer to C-x C-b by default |
Date: |
Sat, 09 Oct 2010 10:51:44 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
Chong Yidong <address@hidden> writes:
> Lars Magne Ingebrigtsen <address@hidden> writes:
>
>> After playing with it a few more seconds, I discovered (to my horror!)
>> that it binds <left> and <right> to something totally odd that makes
>> point jump to the start of the buffer.
>>
>> That's even more annoying. I hate having my cursor keys rebound to
>> surprising actions.
>
> Yeah, this is pretty unacceptable. For one thing, users might want to
> copy the text in the buffer.
This can be fixed by using TAB/S-TAB for navigation to filter groups
as proposed elsewhere in this thread.
=== modified file 'lisp/ibuffer.el'
--- lisp/ibuffer.el 2010-09-25 21:42:48 +0000
+++ lisp/ibuffer.el 2010-10-09 14:48:04 +0000
@@ -477,9 +477,9 @@ directory, like `default-directory'."
(define-key map (kbd "/ /") 'ibuffer-filter-disable)
(define-key map (kbd "M-n") 'ibuffer-forward-filter-group)
- (define-key map (kbd "<right>") 'ibuffer-forward-filter-group)
+ (define-key map "\t" 'ibuffer-forward-filter-group)
(define-key map (kbd "M-p") 'ibuffer-backward-filter-group)
- (define-key map (kbd "<left>") 'ibuffer-backward-filter-group)
+ (define-key map [backtab] 'ibuffer-backward-filter-group)
(define-key map (kbd "M-j") 'ibuffer-jump-to-filter-group)
(define-key map (kbd "C-k") 'ibuffer-kill-line)
(define-key map (kbd "C-y") 'ibuffer-yank)
How about the main topic here: binding C-x C-b to ibuffer by default?
- Re: binding ibuffer to C-x C-b by default, (continued)
- Re: binding ibuffer to C-x C-b by default, David Kastrup, 2010/10/08
- Re: binding ibuffer to C-x C-b by default, Ted Zlatanov, 2010/10/08
- Re: binding ibuffer to C-x C-b by default, Ted Zlatanov, 2010/10/08
- Re: binding ibuffer to C-x C-b by default, Lars Magne Ingebrigtsen, 2010/10/08
- Re: binding ibuffer to C-x C-b by default, Miles Bader, 2010/10/08
- Re: binding ibuffer to C-x C-b by default, Dan Nicolaescu, 2010/10/08
- Re: binding ibuffer to C-x C-b by default, Sergei Organov, 2010/10/08
- Re: binding ibuffer to C-x C-b by default, Stephen J. Turnbull, 2010/10/08
- Re: binding ibuffer to C-x C-b by default, Sergei Organov, 2010/10/08
- Re: binding ibuffer to C-x C-b by default, Chong Yidong, 2010/10/09
- Re: binding ibuffer to C-x C-b by default,
Dan Nicolaescu <=
- Re: binding ibuffer to C-x C-b by default, Lars Magne Ingebrigtsen, 2010/10/09
- RE: binding ibuffer to C-x C-b by default, Drew Adams, 2010/10/07
- Re: binding ibuffer to C-x C-b by default, Miles Bader, 2010/10/07
- RE: binding ibuffer to C-x C-b by default, Drew Adams, 2010/10/07
- Re: binding ibuffer to C-x C-b by default, Juanma Barranquero, 2010/10/07
- Re: binding ibuffer to C-x C-b by default, Miles Bader, 2010/10/07
- Re: binding ibuffer to C-x C-b by default, Juanma Barranquero, 2010/10/08
- Re: binding ibuffer to C-x C-b by default, Chong Yidong, 2010/10/09
Re: binding ibuffer to C-x C-b by default, Juri Linkov, 2010/10/07