Various fixes
This commit is contained in:
parent
c26beed6e9
commit
e01ea65f72
9
init.el
9
init.el
@ -20,9 +20,9 @@
|
||||
|
||||
;; use-package
|
||||
(eval-when-compile
|
||||
(setq use-package-always-ensure t
|
||||
package-user-dir "~/.emacs.d/var/elpa")
|
||||
(setq use-package-always-ensure t)
|
||||
(require 'use-package))
|
||||
(setq package-user-dir "~/.emacs.d/var/elpa")
|
||||
|
||||
;; no-littering
|
||||
(use-package no-littering
|
||||
@ -156,7 +156,8 @@
|
||||
(use-package recentf
|
||||
:init
|
||||
(setq recentf-exclude '("^/tmp/.*"
|
||||
"^~/.mail/[^/]/Drafts/.+"))
|
||||
"^~/.mail/[^/]/Drafts/.*"
|
||||
(format "^%svar/elpa/.*" user-emacs-directory)))
|
||||
:bind ("C-c r" . recentf)
|
||||
:config
|
||||
(recentf-mode 1))
|
||||
@ -189,7 +190,7 @@
|
||||
:config
|
||||
(evil-define-key 'operator evil-surround-mode-map
|
||||
"z" #'evil-surround-edit
|
||||
"Z" #'evil-Sunrround-edit)
|
||||
"Z" #'evil-Surround-edit)
|
||||
(evil-define-key 'visual evil-surround-mode-map
|
||||
"gz" #'evil-surround-region
|
||||
"gZ" #'evil-Surround-region)
|
||||
|
Loading…
Reference in New Issue
Block a user