Compare commits
2 Commits
30be552cc6
...
dcc186edae
| Author | SHA1 | Date | |
|---|---|---|---|
| dcc186edae | |||
| b9500a473b |
23
init
23
init
@@ -11,21 +11,18 @@
|
|||||||
;; Requirements: git gnuplot ledger
|
;; Requirements: git gnuplot ledger
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
;; early-init spacemacs-theme
|
;; Load `early-init-el' if not already
|
||||||
|
;; - Emacs 27.1 introduced early-init.el, which is run before init.el,
|
||||||
|
;; before package and UI initialization happens, and before site
|
||||||
|
;; files are loaded. In the case that early-init.el wasn't loaded
|
||||||
|
;; (e.g. using old emacs? Or this file directly loaded?), we do it
|
||||||
|
;; explicitly
|
||||||
|
;; - for org export async actions, e.g. as in
|
||||||
|
;; emacs -l ~/.config/emacs/init -l /tmp/org-export-processXYZ
|
||||||
(require 'early-init
|
(require 'early-init
|
||||||
(concat
|
(concat (file-name-directory (file-truename (or load-file-name "~/.config/emacs/init")))
|
||||||
(file-name-directory (file-truename (or load-file-name
|
"early-init.el")
|
||||||
"~/.config/emacs/init")))
|
|
||||||
"early-init.el")
|
|
||||||
t)
|
t)
|
||||||
;; Load early-init-el if not already
|
|
||||||
;; - Emacs 27.1 introduced early-init.el, which is run before
|
|
||||||
;; init.el, before package and UI initialization happens, and
|
|
||||||
;; before site files are loaded. In the case that early-init.el
|
|
||||||
;; wasn't loaded (e.g. using old emacs? Or this file directly
|
|
||||||
;; loaded?), we do it explicitly
|
|
||||||
;; - for org export async actions, e.g. as in
|
|
||||||
;; emacs -l ~/.config/emacs/init -l /tmp/org-export-processXYZ
|
|
||||||
(require 'pre-settings) ;; use-package delight functions variables
|
(require 'pre-settings) ;; use-package delight functions variables
|
||||||
(require 'which-key-settings) ;; https://melpa.org/#/which-key
|
(require 'which-key-settings) ;; https://melpa.org/#/which-key
|
||||||
(require 'general-settings) ;; requires which-key
|
(require 'general-settings) ;; requires which-key
|
||||||
|
|||||||
@@ -48,7 +48,7 @@
|
|||||||
(setq ivy-use-virtual-buffers t) ;; Add recent files and bookmarks to the ivy-switch-buffer
|
(setq ivy-use-virtual-buffers t) ;; Add recent files and bookmarks to the ivy-switch-buffer
|
||||||
(setq ivy-count-format "%d/%d ") ;; Displays the current and total number in the collection in the prompt
|
(setq ivy-count-format "%d/%d ") ;; Displays the current and total number in the collection in the prompt
|
||||||
(setq enable-recursive-minibuffers t)
|
(setq enable-recursive-minibuffers t)
|
||||||
(setq ivy-extra-directories nil) ;; remove ./ and ../ from list, because <tab> on them would open dird mode. default: '("../" "./")
|
(setq ivy-extra-directories '("../" "./")) ;; keep "./" and "../" in the list to be able to use also mouse click and if asked for directory to have the current one as a candidate "./"
|
||||||
(setq ivy-use-selectable-prompt t) ;; make the prompt line selectable. Example: create a file bar when a file barricade exists in the current directory. Also C-M-j usable
|
(setq ivy-use-selectable-prompt t) ;; make the prompt line selectable. Example: create a file bar when a file barricade exists in the current directory. Also C-M-j usable
|
||||||
;; enable this if you want `swiper' to use it
|
;; enable this if you want `swiper' to use it
|
||||||
;; (setq search-default-mode #'char-fold-to-regexp)
|
;; (setq search-default-mode #'char-fold-to-regexp)
|
||||||
|
|||||||
Reference in New Issue
Block a user