I have an org file containing reference cards on keyboard shortcuts that I continuously edit. Each ref card is a table belonging to a headline.
Here are the first headlines of the file, as an example:
* Emacs
** Help
#+name: e-help
|------------------------------------+---------+------------------------------------------------------|
| Keybinding | Command | Description |
|------------------------------------+---------+------------------------------------------------------|
| =describe-key-briefly= | =C-h c= | Display the command name run by a given key sequence |
| =describe-bindings= | =C-h b= | Display all key bindings |
| =view-echo-area-messages= | =C-h e= | Go to the Messages buffer |
| =describe-key= | =C-h k= | Display the full documentation for the key sequence. |
| =Info-goto-emacs-key-command-node= | =C-h K= | Show manual’s section for the command bound to KEYS. |
| =view-lossage= | =C-h l= | Show last 300 input keystrokes |
| =describe-symbol= | =C-h o= | Show given function or var’s documentation & value. |
| =where-is= | =C-h w= | Display which keystrokes invoke the given command |
|------------------------------------+---------+------------------------------------------------------|
** Windows
#+name: e-windows
|---------------+---------------------------------------+----------------------------------|
| Keybinding | Command | Description |
|---------------+---------------------------------------+----------------------------------|
| =Esc Esc Esc= | =keyboard-escape-quit= | Exit current "mode |
| =C-M △= | =mda/prior-window= | Cycle prior window |
| =C-M ▽= | =other-window= | Cycle next window |
| =M △= | =scroll-other-window-down= | Scroll next window downward |
| =M ▽= | =scroll-other-window= | Scroll next window upward |
| =C-x 0= | =delete-window= | Delete the selected window |
| =C-x 1= | =delete-other-windows= | only one window |
| =C-x += | =balance-windows= | Make all windows the same height |
| =C-x 2= | =split-window-below= | split horizontal |
| =C-x 3= | =split-window-right= | split vertical |
| =C-x -= | =shrink-window-if-larger-than-buffer= | Shrink current window optimally |
|---------------+---------------------------------------+----------------------------------|
** Buffers
#+name: e-buffers
|---------------+------------------------------+--------------------------------------------|
| Keybinding | Command | Description |
|---------------+------------------------------+--------------------------------------------|
| =C △= | =bs-cycle-previous= | Cycle prior user buffer |
| =C ▽= | =bs-cycle-next= | Cycle next user buffer |
| =C-x b= | =switch-to-buffer= | Select any open buffer |
| =C-x C-s= | =save-buffer= | Save buffer |
| =C-x C-w= | =write-file= | Save buffer as |
| =C w= | =kill-this-buffer= | Close current buffer |
| =C-x s= | =save-some-buffers= | Save all buffers |
|---------------+------------------------------+--------------------------------------------|
| =C-x C-b= | =list-buffers= | Shows the file paths of all opened buffers |
| =C-u M-! pwd= | | Pastes the current file path in the buffer |
| =C-x C-d= | =list-directory= | Display path of the current file |
|---------------+------------------------------+--------------------------------------------|
| =C-x C-c= | =save-buffers-kill-terminal= | quit emacs |
|---------------+------------------------------+--------------------------------------------|
I'm trying to build a function that would open a buffer, in a new horizontal window, containing a given ref card (table). But Unfortunately I'm very far from the goal.