Initial commit
This commit is contained in:
15
elisp/keypad.el
Normal file
15
elisp/keypad.el
Normal file
@@ -0,0 +1,15 @@
|
||||
;; number pad keys
|
||||
|
||||
(global-set-key (kbd "<kp-decimal>") 'other-window)
|
||||
(global-set-key (kbd "<kp-0>") 'delete-window)
|
||||
(global-set-key (kbd "<kp-1>") 'delete-other-windows)
|
||||
(global-set-key (kbd "<kp-2>") 'split-window-below)
|
||||
(global-set-key (kbd "<kp-3>") 'xah-open-file-at-cursor)
|
||||
|
||||
(global-set-key (kbd "<kp-subtract>") 'xah-close-current-buffer)
|
||||
(global-set-key (kbd "<kp-divide>") 'xah-previous-user-buffer)
|
||||
(global-set-key (kbd "<kp-multiply>") 'xah-next-user-buffer)
|
||||
|
||||
;; with control key down
|
||||
(global-set-key (kbd "<C-kp-divide>") 'xah-previous-emacs-buffer)
|
||||
(global-set-key (kbd "<C-kp-multiply>") 'xah-next-emacs-buffer)
|
||||
Reference in New Issue
Block a user