summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2018-11-06 10:26:01 -0500
committerAmin Bandali <bandali@gnu.org>2018-11-06 10:26:01 -0500
commit11c0d265f8d02013b0fa2c49625b07cd3eabe3f1 (patch)
tree2a8f353108dcb3070f997d11ba3dd990d698495f
parentea40ba6c05350f8aa70afebf4f66d7f0eb097f93 (diff)
downloadconfigs-11c0d265f8d02013b0fa2c49625b07cd3eabe3f1.tar.gz
configs-11c0d265f8d02013b0fa2c49625b07cd3eabe3f1.tar.xz
configs-11c0d265f8d02013b0fa2c49625b07cd3eabe3f1.zip
[emacs] add some help and helpful bindings
-rw-r--r--init.org20
1 files changed, 17 insertions, 3 deletions
diff --git a/init.org b/init.org
index 7488fb8..477eef2 100644
--- a/init.org
+++ b/init.org
@@ -652,11 +652,14 @@ Enable =winner-mode=.
("C-c S" . save-buffer)
("C-c o" . other-window)
("C-c q q" . save-buffers-kill-terminal)
+
("C-c F m" . make-frame-command)
("C-c F d" . delete-frame)
("C-c F D" . delete-other-frames)
+
("s-c e b" . eval-buffer)
("s-c e r" . eval-region)
+
("s-p" . beginning-of-buffer)
("s-n" . end-of-buffer))
#+end_src
@@ -1540,12 +1543,23 @@ Emacs package that displays available keybindings in popup
#+begin_src emacs-lisp
(use-package helpful
:bind
- (("C-h f" . helpful-callable)
+ (;; ("C-h F" . helpful-function)
+ ("C-h f" . helpful-callable)
("C-h v" . helpful-variable)
("C-h k" . helpful-key)
("C-c C-d" . helpful-at-point)
- ("C-h F" . helpful-function)
- ("C-h C" . helpful-command)))
+ ("C-h C" . helpful-command)
+ ("C-h c" . describe-char)
+ ("C-h F" . describe-face)))
+
+(use-package help
+ :bind
+ (("C-S-h f" . describe-function)
+ ("C-S-h v" . describe-variable)
+ ("C-S-h k" . describe-key)
+ ("C-S-h C" . describe-coding-system)
+ ("C-S-h c" . describe-key-briefly))
+ :config (setq help-window-select t))
#+end_src
** [[https://github.com/kyagi/shell-pop-el][shell-pop]]