diff options
author | Guangxiong Lin <[email protected]> | 2022-06-28 23:21:23 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-06-28 23:21:23 +0800 |
commit | f3640ba63d39d15f220bfc92e28bb3bec1955d7b (patch) | |
tree | dc7f4bfee135e680e8879ea3d6e7cfbe00577a1d /.emacs.d/lisp/init-misc.el | |
parent | b5d772f01e410d4fe0dcdc661c958657fbf0ca28 (diff) | |
download | dotfiles-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.el | 7 |
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 |