This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+tools/imenu-list/README.org

45 lines
1.6 KiB
Org Mode
Raw Normal View History

2016-04-08 22:14:39 +00:00
#+TITLE: imenu-list layer
2018-09-19 03:54:47 +00:00
* Table of Contents :TOC_4_gh:noexport:
2017-05-22 14:16:12 +00:00
- [[#description][Description]]
- [[#features][Features:]]
2017-05-22 14:16:12 +00:00
- [[#screenshot][Screenshot]]
- [[#install][Install]]
- [[#key-bindings][Key bindings]]
- [[#from-any-buffer][From any buffer]]
- [[#from-imenu-list-buffer][From imenu-list buffer]]
2016-04-08 22:14:39 +00:00
* Description
2018-09-19 03:54:47 +00:00
This layer uses [[https://github.com/bmag/imenu-list][imenu-list]] to show the current buffers index in a side bar.
2016-04-08 22:14:39 +00:00
This is similar to `SPC j i` but displayed in a persistent sidebar instead of
a completion buffer.
** Features:
- IDE like outline view of current buffer showing all significant symbols in one view
2016-04-08 22:14:39 +00:00
* Screenshot
[[file:img/imenu-list-example.png]]
2016-04-08 22:14:39 +00:00
* Install
To use this configuration layer, add it to your =~/.spacemacs=. You will need to
add =imenu-list= to the existing =dotspacemacs-configuration-layers= list in
this file.
2016-04-08 22:14:39 +00:00
* Key bindings
** From any buffer
| Key binding | Description |
|-------------+--------------------------|
| ~SPC b i~ | toggle imenu-list window |
2016-04-08 22:14:39 +00:00
** From imenu-list buffer
| Key binding | Description |
|-------------+--------------------------------------------------------|
| ~q~ | quit imenu-list window |
| ~RET~ | go to current entry |
| ~d~ | display current entry, keep focus on imenu-list window |
| ~f~ | fold/unfold current section |
2017-11-04 03:04:53 +00:00
| ~r~ | refresh imenu-list window |