projects
/
~bandali
/
configs
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
emacs: add convenient binding for saving and closing frame
[~bandali/configs]
/
.emacs.d
/
init.el
diff --git
a/.emacs.d/init.el
b/.emacs.d/init.el
index
e1f1262
..
fe4b180
100644
(file)
--- a/
.emacs.d/init.el
+++ b/
.emacs.d/init.el
@@
-93,7
+93,9
@@
;; Not necessary when using straight.el
;; (C-h v straight-package-neutering-mode RET)
;; Not necessary when using straight.el
;; (C-h v straight-package-neutering-mode RET)
-(comment
+(when (and
+ (not (featurep 'straight))
+ (version< emacs-version "27"))
(setq package-enable-at-startup nil)
;; (package-initialize)
)
(setq package-enable-at-startup nil)
;; (package-initialize)
)
@@
-456,7
+458,7
@@
For disabling the behaviour for certain buffers and/or modes."
("C-c F m" . make-frame-command)
("C-c F d" . delete-frame)
("C-c F m" . make-frame-command)
("C-c F d" . delete-frame)
- ("C-c F D" .
delete-other-frames
)
+ ("C-c F D" .
server-edit
)
("C-c o" . other-window)
("C-c o" . other-window)
@@
-625,6
+627,7
@@
For disabling the behaviour for certain buffers and/or modes."
(nconc magit-section-initial-visibility-alist
'(([unpulled status] . show)
([unpushed status] . show)))
(nconc magit-section-initial-visibility-alist
'(([unpulled status] . show)
([unpushed status] . show)))
+ :custom (magit-display-buffer-function #'magit-display-buffer-fullframe-status-v1)
:custom-face (magit-diff-file-heading ((t (:weight normal)))))
;; recently opened files
:custom-face (magit-diff-file-heading ((t (:weight normal)))))
;; recently opened files
@@
-885,6
+888,7
@@
For disabling the behaviour for certain buffers and/or modes."
;; highlight uncommitted changes in the left fringe
(use-package diff-hl
;; highlight uncommitted changes in the left fringe
(use-package diff-hl
+ :defer 0.6
:config
(setq diff-hl-draw-borders nil)
(global-diff-hl-mode)
:config
(setq diff-hl-draw-borders nil)
(global-diff-hl-mode)