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
syl20bnr ebe4c60264 Revert "Defer packages by default using use-package-always-defer"
This reverts commit 29c78ce841 and all other fixes
that have been made afterwards.

The motivation is that use-package is seen by many as a replacement for
`require`. Is use-package always defer the loading of packages then is breaks
this use case, this does not respect POLA so even if it was making Spacemacs
loading faster (up to 3s faster on some startup on my machine) we just cannot
use it, it would be irresponsible. Spacemacs should be easy to use, loading
performance will come with time but it is not a priority.
2018-03-03 23:40:10 -05:00
..
img Add imenu-list layer 2016-04-08 18:09:52 -04:00
packages.el Revert "Defer packages by default using use-package-always-defer" 2018-03-03 23:40:10 -05:00
README.org Fix bindings in imenu-list 2018-01-17 23:35:12 -05: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/c290645261d9ad7a6e62ec78d7edcbceda321d7b/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 toggle imenu-list window

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