commit 517f0c0b11b6fbe373b39f7c2d407b185612bae7 parent 387b22de43a0a74e11106558d7552826267f5c5a Author: Alex Balgavy <alex@balgavy.eu> Date: Thu, 15 Jul 2021 11:04:36 +0200 emacs: add sr-speedbar for same frame speedbar Diffstat:
M | emacs/config.org | | | 29 | ++++++++++++++++++----------- |
1 file changed, 18 insertions(+), 11 deletions(-)
diff --git a/emacs/config.org b/emacs/config.org @@ -193,19 +193,26 @@ And I'm not gonna be a heretic and open Vim inside of Emacs. (vterm-mode . (lambda () (unless server-process (server-start))))) #+end_src -* Interface -** GUI elements - Get rid of all bars. +** sr-speedbar +Make speed bar show in the current frame. - #+begin_src emacs-lisp - (setq org-src-tab-acts-natively t) - (when window-system - (menu-bar-mode -1) - (tool-bar-mode -1) - (scroll-bar-mode -1) - (tooltip-mode -1)) - #+end_src +#+begin_src emacs-lisp + (use-package sr-speedbar + :config + (setq sr-speedbar-right-side nil) + :bind + (("C-c F" . sr-speedbar-toggle))) +#+end_src + +#+begin_src emacs-lisp + (global-set-key (kbd "C-c f") (lambda () (interactive) + (unless (sr-speedbar-exist-p) + (sr-speedbar-open)) + (sr-speedbar-select-window))) +#+end_src + +* Interface ** Messages Hide some messages I don't need.