Remove keypad bindings

My wrist is hurting and I suspect these may be the case. Removing them
to encourage using alternative keybindings.
This commit is contained in:
contrapunctus 2021-06-27 18:22:39 +05:30
parent 6e78eaf6a9
commit d9abd04b0d
1 changed files with 1 additions and 24 deletions

View File

@ -56,30 +56,7 @@
;; set this to run whatever command is bound to C-c C-c, or maybe just C-c
;; see (info "(elisp)Translation Keymaps")
(,(kbd "<kp-divide>"))
(,(kbd "<kp-multiply>") cp/copy-buffer)
(,(kbd "<kp-subtract>") erc-track-switch-buffer)
(,(kbd "S-<kp-subtract>") cp-kill-buffer)
(,(kbd "<kp-home>") delete-other-windows)
(,(kbd "<kp-up>") split-window-below)
(,(kbd "<kp-prior>") split-window-right)
(,(kbd "<kp-begin>") ido-mini)
(,(kbd "<kp-add>") save-buffer)
(,(kbd "S-<kp-add>") (lambda () (interactive) (call-interactively (ert-run-tests-interactively t))))
(,(kbd "<kp-enter>") eval-defun)
(,(kbd "S-<kp-enter>") eval-buffer)
(,(kbd "C-S-<kp-enter>") toggle-debug-on-error)
(,(kbd "<kp-end>") select-window-1)
(,(kbd "<kp-down>") select-window-2)
(,(kbd "<kp-next>") select-window-3)
(,(kbd "<kp-insert>") chronometrist)
(,(kbd "C-<kp-insert>") chronometrist-report)
(,(kbd "<kp-delete>") abort-recursive-edit)))
))
(with-eval-after-load 'dired
(define-key dired-mode-map (kbd "b") 'dired-up-directory)