Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter-Chou committed Dec 31, 2023
1 parent bcec00c commit ae901b0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lisp/init-keybindings.el
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@

"b" #'consult-buffer
"B" #'consult-buffer-other-window
"i" #'ibuffer
"I" #'petmacs/imenu-list-smart-toggle
"i" #'petmacs/imenu-list-smart-toggle
"I" #'ibuffer
"w" #'read-only-mode
"n" #'next-buffer
"p" #'previous-buffer
Expand Down
5 changes: 3 additions & 2 deletions lisp/init-tools.el
Original file line number Diff line number Diff line change
Expand Up @@ -447,10 +447,12 @@
(bury-buffer (get-buffer symbols-outline-buffer-name))))
(symbols-outline-show)))
:init
(require 'symbols-outline)
(setq symbols-outline-window-position 'right
symbols-outline-use-nerd-icon-in-gui t
symbols-outline-window-width 45
symbols-outline-buffer-name "*Symbols-Outline*"
symbols-outline-ignore-variable-symbols nil
symbols-outline-buffer-name "*Outline*"
symbols-outline-collapse-functions-on-startup t)

(when (member petmacs-lsp-mode-impl '(lsp-mode eglot-mode))
Expand All @@ -470,7 +472,6 @@
[backtab] 'symbols-outline-cycle-visibility-globally
(kbd "RET") 'symbols-outline-visit
(kbd "M-RET") 'symbols-outline-visit-and-quit)

(symbols-outline-follow-mode))

(use-package iedit
Expand Down

0 comments on commit ae901b0

Please sign in to comment.