Small fixes.

This commit is contained in:
tastytea 2019-03-22 01:00:14 +01:00
parent 00b830d30b
commit 379eb6c93f
2 changed files with 8 additions and 4 deletions

10
init.el
View File

@ -1,5 +1,5 @@
;;; init.el --- tastytea's Emacs init file.
;;; Time-stamp: <2019-03-22 00:39:03 CET>
;;; Time-stamp: <2019-03-22 01:00:06 CET>
;;; Commentary:
;;; I am using this file with Emacs 26, but most of it will probably work with
@ -122,6 +122,8 @@
;; Scoll 1 line at a time
(setq mouse-wheel-scroll-amount '(1 ((shift) . 1)))
;; Scroll before cursor has reached top/bottom
(use-package smooth-scrolling
:config
(smooth-scrolling-mode 1))
@ -131,6 +133,7 @@
(use-package midnight
:config
(setq midnight-period (* 1 60 60) ; Clean every 1 hours
midnight-delay 0 ; 0 seconds after "midnight"
clean-buffer-list-delay-general 1 ; Clean normal bufs after 1d
clean-buffer-list-delay-special (* 30 60) ; Clean special bufs after 30m
clean-buffer-list-kill-regexps ; Add these to special buffers
@ -362,9 +365,10 @@
:bind
("<f8>" . neotree-toggle))
(use-package git-commit
:unless slow-computer)
(use-package magit
:unless slow-computer
:init
(use-package git-commit)
:config
(defun my-magit-kill-buffers (arg)
"Restore window configuration and kill all Magit buffers."

View File

@ -1,2 +1,2 @@
127.0.0.1:51313 24224
127.0.0.1:51313 4627
phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh