summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorMatthew Kosarek <matt.kosarek@canonical.com>2024-01-31 13:40:00 -0500
committerMatthew Kosarek <matt.kosarek@canonical.com>2024-01-31 13:40:00 -0500
commit31bbe7974c358302b0c451b253933103f7b3e18c (patch)
tree663799f24b9ce64b1eb6ceecbe4c60b282e22be9 /lisp
parent0b2c26b0e1fb7aaafcd2bf656b739d9b7223bc65 (diff)
housekeeping: various fixes
Diffstat (limited to 'lisp')
-rw-r--r--lisp/general.el28
-rw-r--r--lisp/org-custom.el2
2 files changed, 12 insertions, 18 deletions
diff --git a/lisp/general.el b/lisp/general.el
index 4b51b9b..79cafe2 100644
--- a/lisp/general.el
+++ b/lisp/general.el
@@ -113,21 +113,12 @@
(setq-default left-fringe-width 20)
(setq-default right-fringe-width 20)
-;; Margins: https://stackoverflow.com/a/22320638/7980887
-(defun my-set-text-margins ()
- "Set margins in current buffer."
- (setq left-margin-width 50)
- (setq right-margin-width 50))
-
-(add-hook 'text-mode-hook 'my-set-text-margins)
-
-(defun my-set-prog-margins ()
- "Set margins in current buffer."
- (setq left-margin-width 25)
- (setq right-margin-width 25))
-
-(add-hook 'prog-mode-hook 'my-set-prog-margins)
-
+;; Margin
+(use-package perfect-margin
+ :ensure t
+ :config
+ (perfect-margin-mode 1)
+ )
;; Highlight todos
(use-package hl-todo
@@ -232,9 +223,10 @@
(use-package git-gutter-fringe
:ensure t
:config
- (define-fringe-bitmap 'git-gutter-fr:added [224] nil nil '(center repeated))
- (define-fringe-bitmap 'git-gutter-fr:modified [224] nil nil '(center repeated))
- (define-fringe-bitmap 'git-gutter-fr:deleted [128 192 224 240] nil nil 'bottom))
+ ;(define-fringe-bitmap 'git-gutter-fr:added [224] nil nil '(center repeated))
+ ;(define-fringe-bitmap 'git-gutter-fr:modified [224] nil nil '(center repeated))
+ ;(define-fringe-bitmap 'git-gutter-fr:deleted [128 192 224 240] nil nil 'bottom)
+ )
(use-package magit
:ensure t)
diff --git a/lisp/org-custom.el b/lisp/org-custom.el
index 96bf819..8aa1417 100644
--- a/lisp/org-custom.el
+++ b/lisp/org-custom.el
@@ -112,5 +112,7 @@
(use-package org-download
:ensure t)
+(setq org-log-repeat nil)
+
(provide 'org-custom)
;;; org-custom.el ends here