about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--init.el54
1 files changed, 54 insertions, 0 deletions
diff --git a/init.el b/init.el index 0e2f5dd..d3b3727 100644 --- a/init.el +++ b/init.el
@@ -135,16 +135,70 @@
135 :config 135 :config
136 (unicode-fonts-setup)) 136 (unicode-fonts-setup))
137 137
138;;; Selecting / Minibuffer
139;; ignore case
140(cuss completion-ignore-case t)
141(cuss read-buffer-completion-ignore-case t)
142(cuss read-file-name-completion-ignore-case t)
143
144(use-package selectrum
145 :config
146 (selectrum-mode +1))
147
148(use-package prescient
149 :config
150 (prescient-persist-mode +1))
151
152(use-package selectrum-prescient
153 :after (selectrum prescient)
154 :config
155 (selectrum-prescient-mode +1))
156
157;; searching
158(use-package ctrlf
159 :custom
160 (ctrlf-show-match-count-at-eol nil)
161 :config
162 (ctrlf-mode +1))
163
164;;; Undo
165(use-package undo-fu
166 :bind
167 ("C-/" . undo-fu-only-undo)
168 ("C-?" . undo-fu-only-redo))
169
170(use-package undo-fu-session
171 :after no-littering
172 :custom
173 (undo-fu-session-incompatible-files
174 '("/COMMIT_EDITMSG\\'"
175 "/git-rebase-todo\\'"))
176 (undo-fu-session-directory
177 (no-littering-expand-var-file-name "undos/"))
178 :config
179 (global-undo-fu-session-mode +1))
180
138;;; Text editing 181;;; Text editing
139;; visual line mode 182;; visual line mode
140(global-visual-line-mode +1) 183(global-visual-line-mode +1)
141 184
185(use-package whole-line-or-region
186 :config
187 (whole-line-or-region-global-mode +1))
188
189(use-package expand-region
190 :bind
191 ("C-=" . er/expand-region))
192
142;; delete the selection when typing 193;; delete the selection when typing
143(delete-selection-mode +1) 194(delete-selection-mode +1)
144 195
145;; clipboard 196;; clipboard
146(cuss save-interprogram-paste-before-kill t) ; save existing clipboard text to kill ring before replacing it 197(cuss save-interprogram-paste-before-kill t) ; save existing clipboard text to kill ring before replacing it
147 198
199;; don't insert tabs.
200(cuss indent-tabs-mode nil)
201
148;;; Programming 202;;; Programming
149;; Git 203;; Git
150(use-package magit 204(use-package magit