How to invoke with your org-babel example?
I'm unable to invoke or use this properly with your org-babel
example. This is the contents of my Org debug file.
Run this debug Org file in a clean emacs session with
#+BEGIN_SRC sh :results verbatim
/usr/bin/emacs -Q ~/.emacs.d/DEBUG/hercules.org &
#+END_SRC
* Set up hercules
Eval this code block from the README file.
#+BEGIN_SRC emacs-lisp :results none
;; Provide access to which-key and hercules
(add-to-list 'load-path "~/.emacs.d/elpa/which-key-20190529.114/")
(load-file "~/Desktop/hercules.el")
;; this is from the README
(hercules-def
:show-funs '(org-babel-next-src-block
org-babel-previous-src-block)
;; or whatever function you usually end up being
;; done with babel after
:hide-funs '(org-babel-tangle-publish)
:keymap 'org-babel-map
:pseudo-mode t)
#+END_SRC
Use Org key commands to navigate code blocks.
I expect to press `C-c C-v` and be presented with a hercules-generated which-key menu, but nothing happens.
If I press `C-c C-v C-p` then I get the menu, but subsequent keypresses are input to this buffer as characters, not captured by hercules and passed to Org.
* Code Block One
#+BEGIN_SRC sh :results verbatim
echo "one"
#+END_SRC
#+RESULTS:
* Code Block Two
#+BEGIN_SRC sh :results verbatim
echo "two"
#+END_SRC
#+RESULTS:
Edited by Ken Mankoff