reorder descriptions, and add one, move recentf-max-saved-items
This commit is contained in:
parent
208524ec82
commit
52a15b543e
36
init.el
36
init.el
@ -55,8 +55,19 @@
|
|||||||
|
|
||||||
(setq use-package-always-ensure nil)
|
(setq use-package-always-ensure nil)
|
||||||
|
|
||||||
;;; Load [use-package](https://github.com/jwiegley/use-package/),
|
;;; This also turns on checking TLS certificates (in both possible
|
||||||
;;; propose automatic installation if it is not yet installed.
|
;;; modes) with `tls-program` set to only the first value from the
|
||||||
|
;;; default value (for more info see [Your Text Editor Is
|
||||||
|
;;; Malware](https://glyph.twistedmatrix.com/2015/11/editor-malware.html)).
|
||||||
|
|
||||||
|
;;; Now you can list available packages by running `M-x list-packages`.
|
||||||
|
;;; Mark packages you want to install by pressing `i` and later press `x`
|
||||||
|
;;; to install all marked packages (the necessary dependencies will be
|
||||||
|
;;; installed automatically).
|
||||||
|
|
||||||
|
;;; Now, load [use-package](https://github.com/jwiegley/use-package/)
|
||||||
|
;;; package or propose automatic installation if it is not yet
|
||||||
|
;;; installed.
|
||||||
|
|
||||||
(unless (require 'use-package nil t)
|
(unless (require 'use-package nil t)
|
||||||
(if (not (yes-or-no-p (concat "Refresh packages, install use-package and"
|
(if (not (yes-or-no-p (concat "Refresh packages, install use-package and"
|
||||||
@ -67,21 +78,8 @@
|
|||||||
(require 'use-package)
|
(require 'use-package)
|
||||||
(setq use-package-always-ensure t)))
|
(setq use-package-always-ensure t)))
|
||||||
|
|
||||||
;;; This also turns on checking TLS certificates (in both possible modes)
|
;;; After loading `use-package` we can use it to configure other
|
||||||
;;; with `tls-program` set to only the first value from the default value
|
;;; packages.
|
||||||
;;; (for more info
|
|
||||||
;;; see
|
|
||||||
;;; [Your Text Editor Is Malware](https://glyph.twistedmatrix.com/2015/11/editor-malware.html)).
|
|
||||||
|
|
||||||
;;; Now you can list available packages by running `M-x list-packages`.
|
|
||||||
;;; Mark packages you want to install by pressing `i` and later press `x`
|
|
||||||
;;; to install all marked packages (the necessary dependencies will be
|
|
||||||
;;; installed automatically).
|
|
||||||
|
|
||||||
|
|
||||||
;;; ### Other settings ###
|
|
||||||
|
|
||||||
(setq recentf-max-saved-items 100)
|
|
||||||
|
|
||||||
|
|
||||||
;;; ### Workaround for security vulnerability in Emacs >= 21.1 and < 25.3 ###
|
;;; ### Workaround for security vulnerability in Emacs >= 21.1 and < 25.3 ###
|
||||||
@ -119,6 +117,8 @@
|
|||||||
|
|
||||||
;;; ### More efficient buffer/file selection ###
|
;;; ### More efficient buffer/file selection ###
|
||||||
|
|
||||||
|
(setq recentf-max-saved-items 100)
|
||||||
|
|
||||||
(global-set-key "\C-cq" #'bury-buffer)
|
(global-set-key "\C-cq" #'bury-buffer)
|
||||||
|
|
||||||
(use-package helm
|
(use-package helm
|
||||||
@ -209,6 +209,8 @@
|
|||||||
:config
|
:config
|
||||||
(windmove-default-keybindings))
|
(windmove-default-keybindings))
|
||||||
|
|
||||||
|
;;; Switch between window configurations
|
||||||
|
|
||||||
(use-package eyebrowse
|
(use-package eyebrowse
|
||||||
:config
|
:config
|
||||||
(eyebrowse-mode))
|
(eyebrowse-mode))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user