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