aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/lisp/init-misc.el
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-06-28 23:21:23 +0800
committerGuangxiong Lin <[email protected]>2022-06-28 23:21:23 +0800
commitf3640ba63d39d15f220bfc92e28bb3bec1955d7b (patch)
treedc7f4bfee135e680e8879ea3d6e7cfbe00577a1d /.emacs.d/lisp/init-misc.el
parentb5d772f01e410d4fe0dcdc661c958657fbf0ca28 (diff)
downloaddotfiles-f3640ba63d39d15f220bfc92e28bb3bec1955d7b.tar.gz
dotfiles-f3640ba63d39d15f220bfc92e28bb3bec1955d7b.tar.bz2
dotfiles-f3640ba63d39d15f220bfc92e28bb3bec1955d7b.zip
Update emacs config
Diffstat (limited to '.emacs.d/lisp/init-misc.el')
-rw-r--r--.emacs.d/lisp/init-misc.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/.emacs.d/lisp/init-misc.el b/.emacs.d/lisp/init-misc.el
index ed35da4..349e237 100644
--- a/.emacs.d/lisp/init-misc.el
+++ b/.emacs.d/lisp/init-misc.el
@@ -12,13 +12,15 @@
;; Disable evil operation writes clipboard
(setq x-select-enable-clipboard nil)
+(setq inhibit-splash-screen t)
+
(setq
backup-by-copying t
delete-old-versions t
kept-new-versions 10
kept-old-versions 2
version-control t
- backup-directory-alist `(("." . ,(concat user-emacs-directory "backups"))))
+ backup-directory-alist `((".*" . ,(concat user-emacs-directory "backups"))))
(setq auto-save-file-name-transforms
`((".*" "~/.emacs.d/backups/" t)))
@@ -48,7 +50,8 @@
;; Show column number in modeline
(column-number-mode)
;; Show the size of file in modeline
- (size-indication-mode))
+ (size-indication-mode)
+ (transient-mark-mode t))
'append)
(with-eval-after-load 'hideshow