Browse Source

Use imenu-list-smart-toggle

master
10sr 4 years ago
parent
commit
cc8ad19691
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      emacs.el

+ 3
- 1
emacs.el View File

@@ -1488,7 +1488,9 @@ ORIG-FUNC is the target function, and ARGS is the argument when it is called."
(imenu-list-minor-mode 1))) (imenu-list-minor-mode 1)))
;; (set-variable 'imenu-list-auto-resize t) ;; (set-variable 'imenu-list-auto-resize t)
(set-variable 'imenu-list-focus-after-activation t) (set-variable 'imenu-list-focus-after-activation t)
(define-key ctl-x-map (kbd "C-l") 'my-imenu-list-toggle))
;; (define-key ctl-x-map (kbd "C-l") 'my-imenu-list-toggle)
(define-key ctl-x-map (kbd "C-l") 'imenu-list-smart-toggle)
)


(add-hook 'emacs-lisp-mode-hook (add-hook 'emacs-lisp-mode-hook
(lambda () (lambda ()


Loading…
Cancel
Save