summaryrefslogtreecommitdiff
path: root/smart-documents.org
diff options
context:
space:
mode:
authorBlendoit <blendoit@gmail.com>2021-05-15 13:45:32 -0700
committerBlendoit <blendoit@gmail.com>2021-05-15 13:45:32 -0700
commitafabc8551124f335359e6af1b0d5c09989ff06b6 (patch)
treeb7d3fe1a489e0696143dd50a2be3ed14496268d4 /smart-documents.org
parent2b039ada95053c639341e6ded80d4c09012fed48 (diff)
No more sidebar.
Diffstat (limited to 'smart-documents.org')
-rw-r--r--smart-documents.org47
1 files changed, 0 insertions, 47 deletions
diff --git a/smart-documents.org b/smart-documents.org
index 1587c78..e7df055 100644
--- a/smart-documents.org
+++ b/smart-documents.org
@@ -389,23 +389,6 @@ The following bindings lead to more natural window & frame exit behaviors.
(global-set-key (kbd "C-q") 'sd-delete-frame-or-kill-emacs)
#+END_SRC
-*** Open sidebar
-
-We define bindings to open a sidebar at the left of the frame.
-
-#+BEGIN_SRC emacs-lisp :tangle yes
- (global-set-key (kbd "<left-fringe> <mouse-1>")
- (lambda ()
- "Open the sidebar on the left side."
- (interactive)
- (sd-sidebar "left")))
- (global-set-key (kbd "<right-fringe> <mouse-1>")
- (lambda ()
- "Open the sidebar on the right side."
- (interactive)
- (sd-sidebar "right")))
-#+END_SRC
-
** Text display
*** Zoom
@@ -884,36 +867,6 @@ We replace the standard welcome screen with our own.
(setq dashboard-banner-logo-title "A modern professional text editor."))
#+END_SRC
-*** TODO Sidebar
-:PROPERTIES:
-:sd-unpack-path: sd-sidebar.el
-:END:
-
-Get inspiration from ~ibuffer-sidebar~ and create a better sidebar.
-
-#+BEGIN_SRC emacs-lisp :tangle yes
- (defvar sd-sidebar nil "Becomes true if sd-sidebar is visible.")
-
- (defun sd-sidebar (side)
- "Open the sidebar on the chosen SIDE of the buffer."
- (interactive)
- (cond ((eq sd-sidebar t)
- (unless (one-window-p)
- (delete-window))
- (setq sd-sidebar nil))
- ((string-equal side "left")
- (split-window-right)
- (dired ".")
- (dired-hide-details-mode)
- (setq sd-sidebar t))
- ((string-equal side "right")
- (split-window-right)
- (windmove-right)
- (dired ".")
- (dired-hide-details-mode)
- (setq sd-sidebar t))))
-#+END_SRC
-
*** Better parentheses
#+BEGIN_SRC emacs-lisp :tangle yes
Copyright 2019--2024 Marius PETER