Narrowing commands for elisp.
- Emacs >= 25.1
Download repository and it to your load path in your init file:
(add-to-list 'load-path "/path/to/el-narrow")
(require 'el-narrow)
(use-package el-narrow
:straight (el-narrow
:repo "KarimAziev/el-narrow"
:type git
:host github)
:commands (el-narrow-dwim
el-narrow-beginning-of-defun))
Narrow to the closest parent form which head is a symbol allowed to narrow. Allowed symbols are listed in el-narrow-things-to-narrow
.
Jump to the beginning of first parent list from el-narrow-things-to-narrow
.
List of allowed symbols to narrow.