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
Cormac Cannon 097a1fc42d Added keybinding to focus the imenu-list sidebar, creating if necessary.
Bound under ~spc b i~.
Moved existing toggle binding under UI toggle prefix: ~spc T i~
Bindings now using spacebind macro.
2020-05-09 00:08:33 +02:00
..
img Add imenu-list layer 2016-04-08 18:09:52 -04:00
funcs.el Added keybinding to focus the imenu-list sidebar, creating if necessary. 2020-05-09 00:08:33 +02:00
packages.el Added keybinding to focus the imenu-list sidebar, creating if necessary. 2020-05-09 00:08:33 +02:00
README.org Added keybinding to focus the imenu-list sidebar, creating if necessary. 2020-05-09 00:08:33 +02:00

imenu-list layer

Description

This layer uses imenu-list to show the current buffer's index in a side bar.

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

Screenshot

/TakeV/spacemacs/media/commit/dec350eb84fd10c91b54fe561b38b908ff102111/layers/+tools/imenu-list/img/imenu-list-example.png

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.

Key bindings

From any buffer

Key binding Description
SPC b i focus imenu tree sidebar (creating if necessary)
SPC T i toggle imenu tree sidebar

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
r refresh imenu-list window