Add table with key bindings of `smartparens' commands
This commit is contained in:
parent
49ccc9a41a
commit
0c03963b7a
40
README.org
40
README.org
@ -6440,7 +6440,9 @@ following links show how to put the documentation to practical use:
|
||||
Listing [[lst:configure-smartparens]] aims to configure [[https://github.com/Fuco1/smartparens][smartparens]] for Go, LaTeX,
|
||||
Lisp dialects, Org, and Python. Execute src_emacs-lisp{(sp-cheat-sheet)} for
|
||||
short documentation taking into account the overridden key bindings in listing
|
||||
[[lst:configure-smartparens]].
|
||||
[[lst:configure-smartparens]]. Table [[tab:smartparens-commands-and-bindings]] lists
|
||||
commands with key bindings taken in order from src_emacs-lisp{(sp-cheat-sheet)}
|
||||
that takes the overrides of listing [[lst:configure-smartparens]] into account.
|
||||
|
||||
Despite the provocative post [[https://andreyorst.gitlab.io/posts/2022-02-20-what-if-structural-editing-was-a-mistake/]["What if structural editing was a mistake?"]],
|
||||
[[https://github.com/Fuco1/smartparens][smartparens]] is one of my favorite packages. In particular, [[https://github.com/Fuco1/smartparens][smartparens]] handles
|
||||
@ -6504,6 +6506,42 @@ contrary to for instance [[https://github.com/Fanael/rainbow-delimiters#readme][
|
||||
(show-smartparens-global-mode +1))
|
||||
#+end_src
|
||||
|
||||
#+attr_latex: :booktabs yes :float table
|
||||
#+caption[Smartparens commands with key bindings in this setup]:
|
||||
#+caption: Smartparens commands with key bindings in this setup.
|
||||
#+name: tab:smartparens-commands-and-bindings
|
||||
|--------------------------------+----------------------------+----------|
|
||||
| command | keys | status |
|
||||
|--------------------------------+----------------------------+----------|
|
||||
| sp-forward-sexp | {{{kbd(C-M-f)}}} | |
|
||||
| sp-backward-sexp | {{{kbd(C-M-b)}}} | |
|
||||
| sp-next-sexp | {{{kbd(C-M-n)}}} | |
|
||||
| sp-prev-sexp | {{{kbd(C-M-p)}}} | |
|
||||
| sp-down-sexp | {{{kbd(C-M-d)}}} | shadowed |
|
||||
| sp-backward-down-sexp | {{{kbd(C-M-a)}}} | |
|
||||
| sp-beginning-of-sexp | {{{kbd(C-S-d)}}} | |
|
||||
| sp-end-of-sexp | {{{kbd(C-S-a)}}} | |
|
||||
| sp-up-sexp | {{{kbd(C-M-e)}}} | |
|
||||
| sp-backward-up-sexp | {{{kbd(C-M-u)}}} | |
|
||||
| sp-kill-sexp | {{{kbd(C-M-k)}}} | |
|
||||
| sp-copy-sexp | {{{kbd(C-M-w)}}} | |
|
||||
| sp-forward-slurp-sexp | {{{kbd(C-))}}} | override |
|
||||
| sp-backward-slurp-sexp | {{{kbd(C-()}}} | override |
|
||||
| sp-forward-barf-sexp | {{{kbd(C-M-))}}} | override |
|
||||
| sp-backward-barf-sexp | {{{kbd(C-M-()}}} | override |
|
||||
| sp-forward-symbol | {{{kbd(M-F)}}} | |
|
||||
| sp-backward-symbol | {{{kbd(M-B)}}} | |
|
||||
| sp-unwrap-sexp | {{{kbd(M-<delete>)}}} | shadowed |
|
||||
| sp-backward-unwrap-sexp | {{{kbd(M-<backspace>)}}} | |
|
||||
| sp-splice-sexp | {{{kbd(M-D)}}} | |
|
||||
| sp-splice-killing-backward | {{{kbd(C-M-<backspace>)}}} | |
|
||||
| sp-splice-sexp-killing-forward | {{{kbd(C-M-<delete>)}}} | shadowed |
|
||||
| sp-select-next-thing | {{{kbd(C-M-])}}} | |
|
||||
| sp-select-next-thing-exchange | {{{kbd(C-])}}} | |
|
||||
| sp-mark-sexp | {{{kbd(C-M-SPC)}}} | |
|
||||
|--------------------------------+----------------------------+----------|
|
||||
|
||||
|
||||
** [[https://github.com/davidshepherd7/electric-operator#readme][Electric operators]]
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: sec:electric-operators
|
||||
|
Loading…
Reference in New Issue
Block a user