branch: elpa/evil-args commit e904186006dabe7689abbb35ec060845961da099 Author: wcsmith <wconnorsm...@gmail.com> Commit: wcsmith <wconnorsm...@gmail.com>
Added customization section to README. --- README.md | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cbb7ff5bd8..7d2ef992c0 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # evil-args -Motions and text objects for delimited arguments in [Evil](https://gitorious.org/evil/), the extensible vi layer for Emacs. +Motions and text objects for delimited arguments in +[Evil](https://gitorious.org/evil/), the extensible vi layer for Emacs. ## Setup Get it with: @@ -65,7 +66,8 @@ or ###`evil-jump-out-args` -Moves to the beginning of the first object outside of the current argument context. +Moves to the beginning of the first object outside of the current argument +context. For example, pressing `evil-jump-out-args` yields: @@ -87,4 +89,19 @@ Successive presses of `evil-jump-out-args` yield: |if (x == y) { statement1; statement2; - } \ No newline at end of file + } + +##Customization + +Currently, `evil-args` uses `,` and `;` as delimiters. The definition of +delimiters and matching pairs can be customized by changing the variables +`evil-args-openers`, `evil-args-closers`, and `evil-args-delimiters`. + +For example, setting `evil-args-delimiters` to `(" ")` would allow for +evil-args features in Lisp lists; repeated presses of `evil-forward-arg` +would yield: + + (fun|ction a b) + (function |a b) + (function a |b) + (function a b|) \ No newline at end of file