From 11c0d265f8d02013b0fa2c49625b07cd3eabe3f1 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Tue, 6 Nov 2018 10:26:01 -0500 Subject: [PATCH 1/1] [emacs] add some help and helpful bindings --- init.org | 20 +++++++++++++++++--- 1 file 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]] -- 2.20.1