help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Buffer Navigation


From: Drew Adams
Subject: RE: Buffer Navigation
Date: Tue, 18 Oct 2005 20:35:13 -0700

    thanks Drew... I skimmed the documentation which seems to focus on the
    completion power of icicle more than the buffer management.

That's because buffer management is but a tiny consequence of Icicles
general behavior. Icicles does the same thing for any object (file, command,
variable...) as it does for buffers.

    how would i use your library as a drop in replacement
    for my C-x left/right bindings?

Better to continue off-list if you have more questions, as the details are
probably not interesting to others.  Anyway, this should get you started:

Just use your standard buffer-switching command - for example,
`switch-to-buffer' (on `C-x b'). Then use the up/down arrows (or
`C-p'/`C-n') to cycle among buffer-names and choose one (RET). This doesn't
let you use `C-x left' and `C-x right' - you use up/down instead (fewer
keystrokes).

Even better: use command `icicle-buffer'.  Make these bindings, for example.

   (define-key ctl-x-map   "b" 'icicle-buffer) ; `C-x b'
   (define-key ctl-x-4-map "b" 'icicle-buffer-other-window) ; `C-x 4 b'

Now do as in #1, or you can use `C-up'/`C-down' to cycle among buffers,
switching to them at the same time (no need to hit `RET'). With `C-x b' the
switched-to buffer replaces the current buffer in its window. With `C-x 4 b'
the switched-to buffer is opened in another window.

    also, i'm not so keen on the C-h remapping... i unset that standard
    "helpful" binding as delete sends C-h in a compliant xterm.

`C-h' is only rebound for the minibuffer - Icicles changes no global
bindings. From what you said, you've apparently already figured out how to
unset the `C-h' bindings (and bind `icicle-help-on-candidate' to another
minibuffer key sequence).






reply via email to

[Prev in Thread] Current Thread [Next in Thread]