emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/evil-args 2a88b4d199 23/27: Add melpa instructions to READ


From: ELPA Syncer
Subject: [nongnu] elpa/evil-args 2a88b4d199 23/27: Add melpa instructions to README
Date: Wed, 2 Feb 2022 20:58:12 -0500 (EST)

branch: elpa/evil-args
commit 2a88b4d19953a11227cc1e91973b92149116f44c
Author: wcsmith <wconnorsmith@gmail.com>
Commit: wcsmith <wconnorsmith@gmail.com>

    Add melpa instructions to README
---
 README.md | 54 +++++++++++++++++++++++++++++++-----------------------
 1 file changed, 31 insertions(+), 23 deletions(-)

diff --git a/README.md b/README.md
index 1673d328c8..ae6404d90b 100644
--- a/README.md
+++ b/README.md
@@ -3,12 +3,23 @@ Motions and text objects for delimited arguments in
 [Evil](https://gitorious.org/evil/), the extensible vi layer for Emacs.
 
 ## Setup
-Get it with:
+### Installing from MELPA
+If you already use MELPA, all you have to do is:
+
+    M-x package-install RET evil-args RET
+
+For help installing and using MELPA, see [these instructions](
+melpa.milkbox.net/#/getting-started).
+
+### Installing from Github
+Install `evil-args` manually from Github with:
 
     git clone https://github.com/wcsmith/evil-args.git
     
-Add the following to your `.emacs`:
+### Configuration
+After installing `evil-args`, add the following to your `.emacs`:
 
+    ;; locate and load the package
     (add-to-list 'load-path "path/to/evil-args")
     (require 'evil-args)
 
@@ -26,25 +37,7 @@ Add the following to your `.emacs`:
     (define-key evil-normal-state-map "K" 'evil-jump-out-args)
 
 ##Functionality
-###`evil-forward-arg`/`evil-backward-arg`
-Move the curser to the next/previous argument.
-
-For example, successive presses of `evil-forward-arg` yield:
-
-    function(ar|g1, arg2, arg3)
-    function(arg1, |arg2, arg3)
-    function(arg1, arg2, |arg3)
-    function(arg1, arg2, arg3|)
-
-Successive presses of `evil-backward-arg` yield:
-
-    function(arg1, arg2, ar|g3)
-    function(arg1, arg2, |arg3)
-    function(arg1, |arg2, arg3)
-    function(|arg1, arg2, arg3)
-
 ###`evil-inner-arg`/`evil-outer-arg`
-
 Select an inner/outer argument text object.
 
 For example, `cia` transforms:
@@ -67,8 +60,24 @@ or
     function(arg1, ar|g2, arg3)
     function(arg1, |arg3)
 
-###`evil-jump-out-args`
+###`evil-forward-arg`/`evil-backward-arg`
+Move the curser to the next/previous argument.
+
+For example, successive presses of `evil-forward-arg` yield:
+
+    function(ar|g1, arg2, arg3)
+    function(arg1, |arg2, arg3)
+    function(arg1, arg2, |arg3)
+    function(arg1, arg2, arg3|)
+
+Successive presses of `evil-backward-arg` yield:
+
+    function(arg1, arg2, ar|g3)
+    function(arg1, arg2, |arg3)
+    function(arg1, |arg2, arg3)
+    function(|arg1, arg2, arg3)
 
+###`evil-jump-out-args`
 Moves to the beginning of the first object outside of the current argument
 context.
 
@@ -95,7 +104,6 @@ Successive presses of `evil-jump-out-args` yield:
     }
     
 ##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`.
@@ -107,4 +115,4 @@ would yield:
     (fun|ction a b)
     (function |a b)
     (function a |b)
-    (function a b|)
\ No newline at end of file
+    (function a b|)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]