Update document and operate-on-number key bindings
Signed-off-by: Tu Do <tuhdo1710@gmail.com>
This commit is contained in:
parent
b998a8bd47
commit
ca9dc4676c
2 changed files with 5 additions and 2 deletions
|
@ -383,16 +383,19 @@ indent yanked text (with prefix arg don't indent)."
|
|||
(global-set-key [remap kill-ring-save] 'easy-kill)
|
||||
(global-set-key [remap mark-sexp] 'easy-mark)
|
||||
|
||||
;;
|
||||
;; operate-on-number
|
||||
(require 'operate-on-number)
|
||||
(smartrep-define-key global-map "C-c ."
|
||||
'(("+" . apply-operation-to-number-at-point)
|
||||
("-" . apply-operation-to-number-at-point)
|
||||
("*" . apply-operation-to-number-at-point)
|
||||
("/" . apply-operation-to-number-at-point)
|
||||
("\\" . apply-operation-to-number-at-point)
|
||||
("^" . apply-operation-to-number-at-point)
|
||||
("<" . apply-operation-to-number-at-point)
|
||||
(">" . apply-operation-to-number-at-point)
|
||||
("#" . apply-operation-to-number-at-point)
|
||||
("%" . apply-operation-to-number-at-point)
|
||||
("'" . operate-on-number-at-point)))
|
||||
|
||||
(provide 'prelude-editor)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue