diff options
| author | Somelauw <Somelauw> | 2017-06-02 23:41:11 +0200 |
|---|---|---|
| committer | Somelauw <Somelauw> | 2017-06-02 23:41:11 +0200 |
| commit | 2785592067a5d448b86369fc0378028dcab5c1f8 (patch) | |
| tree | c302273b37726e18947f32550c4cf2e2e489eba3 /doc | |
| parent | 23b4aff1d4f59d30950e49556cfe019b78bbeccd (diff) | |
Complete overhaul of text objects
See doc/changelog.org for details
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/changelog.org | 19 | ||||
| -rw-r--r-- | doc/keythemes.org | 21 |
2 files changed, 24 insertions, 16 deletions
diff --git a/doc/changelog.org b/doc/changelog.org index 37f56a7..bf6fd6d 100644 --- a/doc/changelog.org +++ b/doc/changelog.org @@ -1,18 +1,25 @@ -* Version 0.7.0 - - A hook is no longer created automatically +* Version 0.7.* + - A hook is no longer created automatically. The following line of code is from now on required in a user config: #+BEGIN_SRC emacs-lisp (add-hook 'org-mode-hook 'evil-org-mode) ;; only load with org-mode #+END_SRC - This line is from now on required in a user config. - - Leader key bindings are removed. See [[file:example_config.el][example config]] for an example how you can set them up yourself. + - Redone text objects + - Sentence (is/as) and paragraph (ip/ap) text objects no longer get special treatment in tables. Use ie/ae for cells and ir/ar for tables instead. + - Move element text object bindings from ie/ae to iE/aE + - New text object ie/ae that works on elements and a few smaller objects. + - Move subtree text object bindings from ir/ar to iR/aR + - New text object ir/ar that works on recursive objects. Repeatable in visual mode. * Between versions 0.1.2 and 0.6.3 - less controversial default keybindings (see issue [[https://github.com/edwtjo/evil-org-mode/issues/13][#13]]) t, T, O and leader bindings are no longer bound by default, but can be enabled using key themes. - leader keys are deprecated and evil-leader is no longer required - customizable movement keys (as a courtesy to dvorak users) - - operators (>, <) for promotion, demotion. Can also be used for plain indentation when in a code block - - text objects (ae, ar, ap, as) + - new operators (>, <) for promotion, demotion. Can also be used for plain indentation when in a code block. + That means < and > are no longer bound to org-meta-left/right. + - new text objects + - ae, ar to match element, subheading + - ap, as to match whole table, table cell in table context - optional insert mode bindings C-d and C-t - table support for keys: x, X, (, ), { and }. diff --git a/doc/keythemes.org b/doc/keythemes.org index 6519343..9a5241e 100644 --- a/doc/keythemes.org +++ b/doc/keythemes.org @@ -66,17 +66,18 @@ |-----+----------------------+-------------------| ** Text objects - "var" to select an element + "vae" to select an element "dar" to delete a subtree - "2yar" to yank the parent of a subtree - - |-----+-------------+------------------------------------------------| - | key | function | explanation | - |-----+-------------+------------------------------------------------| - | ae | org-element | An org element | - | ar | org-subtree | A subtree. Use a count to select parent trees. | - |-----+-------------+------------------------------------------------| - + "2yaR" to yank the parent of a subtree + + |---------+---------------------+-------------------------------------------------| + | key | function | explanation | + |---------+---------------------+-------------------------------------------------| + | ae / ie | org-object | An / inner object (markup, table cell) | + | aE / iE | org-element | An / inner element (code block, table row) | + | ar / ir | org-greater-element | An / inner recursive element (item list, table) | + | aR / iR | org-subtree | An / inner subtree starting with a * | + |---------+---------------------+-------------------------------------------------| ** Additional If you don't want to use hjkl, you can customize evil-org-movement-bindings. |
