[oni-core] Replace ‘(upcase|downcase|capitalize)-word’ with dwim
The “Do What I Mean” variants will either work on a region or a word, not just a word.
This commit is contained in:
parent
dcf277a644
commit
0b640ec28e
1 changed files with 4 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||
;; Keywords: local
|
||||
;; Version: 2022.0106.091634
|
||||
;; Version: 2022.0204.204006
|
||||
;; Package-Requires: (oni-data-dir oni-embrace oni-hydra expand-region multiple-cursors gcmh diminish ws-butler which-key insert-char-preview dashboard mixed-pitch ace-window)
|
||||
|
||||
;; This program is free software; you can redistribute it and/or modify
|
||||
|
@ -215,6 +215,9 @@ _s_: String list"
|
|||
(global-set-key [remap insert-char] 'insert-char-preview)
|
||||
(global-set-key [remap move-beginning-of-line] #'oni-core-move-beginning-of-dwim)
|
||||
(global-set-key [remap move-end-of-line] #'oni-core-move-end-of-dwim)
|
||||
(global-set-key [remap upcase-word] #'upcase-dwim)
|
||||
(global-set-key [remap downcase-word] #'downcase-dwim)
|
||||
(global-set-key [remap capitalize-word] #'capitalize-dwim)
|
||||
|
||||
(global-set-key (kbd "C-<left>") 'winner-undo)
|
||||
(global-set-key (kbd "C-<right>") 'winner-redo)
|
||||
|
|
Loading…
Reference in a new issue