Quantcast
Channel: Active questions tagged help - Emacs Stack Exchange
Viewing all articles
Browse latest Browse all 40

A better where-is command?

$
0
0

I'm trying to setup a way to find keys I want to use but keep forgetting.

(I know there is where-is (C-w) and describe-binds, describe-mode. )

I want the following,

  • initiate a command to search for keys (let's M-o)
  • in a minibuffer (or helm buffer), type "help go back"
  • it shows the corresponding hot keys

It is different from where-is in two ways

  1. it shows the key sequence right there without "entering" another buffer
  2. I can search with my own "keyword"for instance help command might be named help-go-back but I might be more comfortable to use "help before"(there are command names which are hard to remember)

I'm thinking to use a file to provide those values, for instance

* help- go before:  C-c C-b , g b : back, previous - go previous page: p * org - demote   - single item: M-right      - subtree: M-S-right : children

I can think of writing a custom helm source (?) for this, but wondering if there's a better way

Alternative (close but not perfect) way of reusing existing capability is

  • make where-is to show the keys in the list (not after selecting the command)
  • make describe-mode to show more key bindings (not just emacs key bindings but evil-state related key bindings)
  • Append help or org or any sub headings to the leaf node, so that I can just isearch on the file (but prefarably automate the appending step)

Viewing all articles
Browse latest Browse all 40

Trending Articles