Move save-place configuration to use-package
This commit is contained in:
parent
8971682219
commit
1ba4312716
11
init.el
11
init.el
@ -191,7 +191,6 @@
|
||||
(require 'thingatpt)
|
||||
(require 'helm-config)
|
||||
(require 'xlicense)
|
||||
(require 'saveplace)
|
||||
(require 'linum)
|
||||
(require 'zone)
|
||||
(require 'magithub)
|
||||
@ -219,6 +218,12 @@
|
||||
("C->" . mc/mark-next-like-this)
|
||||
("C-<" . mc/mark-previous-like-this)
|
||||
("C-c C-<" . mc/mark-all-like-this)))
|
||||
|
||||
;; Save place
|
||||
(use-package saveplace
|
||||
:config
|
||||
(setq-default save-place t)
|
||||
(setq save-place-file (expand-file-name ".places" user-emacs-directory)))
|
||||
(use-package smartparens-config
|
||||
:ensure smartparens
|
||||
:config
|
||||
@ -419,10 +424,6 @@
|
||||
(187 171) ; »«
|
||||
))
|
||||
|
||||
;; Setup `save-place'
|
||||
(setq-default save-place t)
|
||||
(setq save-place-file (expand-file-name ".places" user-emacs-directory))
|
||||
|
||||
;; Setup eshell
|
||||
(add-hook 'eshell-mode-hook
|
||||
(lambda () (local-set-key (kbd "C-d") #'eshell-C-d)))
|
||||
|
Loading…
Reference in New Issue
Block a user