;; 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>") 'ivy-bibtex)

;(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)
