aboutsummaryrefslogtreecommitdiffstats
path: root/oni-core.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2019-04-09 01:09:37 -0700
committerGravatar Tom Willemse2019-04-09 01:09:37 -0700
commit77e25502a108c391975d10dca7f47e947839dc9a (patch)
tree30a754092fdae26fb15aee40ec3a2c08402ce723 /oni-core.el
parent51f5e1934d9896cc125b9fda925480efdfb507c1 (diff)
downloademacs-config-77e25502a108c391975d10dca7f47e947839dc9a.tar.gz
emacs-config-77e25502a108c391975d10dca7f47e947839dc9a.zip
Add helpful package
Diffstat (limited to 'oni-core.el')
-rw-r--r--oni-core.el9
1 files changed, 7 insertions, 2 deletions
diff --git a/oni-core.el b/oni-core.el
index 488d512..be27507 100644
--- a/oni-core.el
+++ b/oni-core.el
@@ -4,8 +4,8 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 20190330120416
-;; Package-Requires: (oni-data-dir expand-region multiple-cursors embrace)
+;; Version: 20190409010902
+;; Package-Requires: (oni-data-dir expand-region multiple-cursors embrace helpful)
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
@@ -95,6 +95,11 @@
(global-set-key (kbd "C-x f") 'ffap)
(global-set-key (kbd "C-x C-b") 'ibuffer)
+(global-set-key [remap describe-function] 'helpful-callable)
+(global-set-key [remap describe-key] 'helpful-key)
+(global-set-key [remap describe-variable] 'helpful-variable)
+(global-set-key (kbd "C-c C-d") 'helpful-at-point)
+
(electric-indent-mode -1)
(when (eql system-type 'windows-nt)