Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bmag committed May 2, 2015
1 parent 3ca8608 commit 3ff9f50
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,20 @@ To activate it automatically on startup, add this to your init file:
`(imenu-list-minor-mode)`

The imenu of the current buffer will be displayed in the `*Ilist*` buffer. From the `*Ilist*` buffer, you can use these shortcuts:
\<enter\>: goto entry under cursor
\<space\>: display entry under cursor, but `*Ilist*` buffer remains current
`\<enter\>`: goto entry under cursor, or toggle case-folding.
`\<space\>`: display entry under cursor, but `*Ilist*` buffer remains current
`\<mouse click\>`: same as \<enter\>
`<tab>`: next line
`<backtab>`: previous line
`n`: next line
`p`: previous line
`f`: toggle case-folding (`hs-toggle-hiding`)

![](https://github.com/bmag/imenu-list/blob/master/images/imenu-list.png)
## Display
imenu-list has several faces for showing different levels of nesting in the `*Ilist*` buffer. To customize them, see `M-x customize-group RET imenu-list RET`.

The mode-line of `*Ilist*` buffer can be changed by customizing `imenu-list-mode-line-format`, also available via `M-x customize-group RET imenu-list RET`.

![](https://github.com/bmag/imenu-list/blob/master/images/imenu-list-light.png)

![](https://github.com/bmag/imenu-list/blob/master/images/imenu-list-dark.png)

0 comments on commit 3ff9f50

Please sign in to comment.