diff options
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 16 |
1 files changed, 13 insertions, 3 deletions
@@ -383,15 +383,25 @@ | |||
383 | 383 | ||
384 | 384 | ||
385 | ;; --------------------------------- | 385 | ;; --------------------------------- |
386 | ;; Type over selected text | 386 | ;; Selection |
387 | ;; ----------------------- | 387 | ;; ----------------------- |
388 | ;; Typing over selected text should | 388 | ;; Efficient selection is one of the |
389 | ;; delete the selected text | 389 | ;; 47 totems of efficiency. |
390 | ;; --------------------------------- | 390 | ;; --------------------------------- |
391 | 391 | ||
392 | ;; Typing over selected text deletes | ||
393 | ;; the selected text | ||
392 | (delete-selection-mode t) | 394 | (delete-selection-mode t) |
393 | 395 | ||
394 | 396 | ||
397 | ;; Expand region by semantic units | ||
398 | (use-package expand-region | ||
399 | :straight t | ||
400 | :config | ||
401 | (setq expand-region-subword-enabled t) | ||
402 | :bind ("M-=" . er/expand-region)) | ||
403 | |||
404 | |||
395 | 405 | ||
396 | 406 | ||
397 | ;; --------------------------------------------------------------------- | 407 | ;; --------------------------------------------------------------------- |