Skip to content

Commit

Permalink
Documentation fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mkleehammer committed Jan 24, 2025
1 parent 5c6e4ba commit 3d55f9d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ There are five operations supported:
the text within.

- Killing text in pairs of characters without having to mark it first. Like marking, this can
include the pairs or just be the text within.

- Changing one pair of characters for another, such as changing from double quotes to single
quotes.
Expand Down Expand Up @@ -49,8 +50,8 @@ Marking and killing come in two flavors, "inner" and "outer", which you may reco
or evil. Inner means text within the pairs, but *not* the surrounding pairs themselves. Outer
means the pairs are also included.

(testing)
------- <-- inner
(testing)
--------- <-- outer

There are also functions defined as "auto" which work as "inner" most of the time, but work as
Expand Down Expand Up @@ -122,7 +123,7 @@ quotes with, so enter a parenthesis: `M-' c " (`
### Marking

To mark (select) the text within the parentheses, you have a couple of options. You can use
the "inner" command bound to 'i' or the shortcut bound do '(':
the "inner" command bound to 'i' or the shortcut bound to '(':

- `M-' i (` - Pass an opening parenthesis to the `i` command.
- `M-' (` - Use the opening parenthesis shortcut.
Expand Down
2 changes: 1 addition & 1 deletion surround.el
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
;; - i :: Selects the text within a pair (inner select / mark)
;; - o :: Selects the pair and text within (outer select / mark)
;; - k :: Kills text within a pair (inner kill)
;; - K :: Kills the pair and test within (outer kill)
;; - K :: Kills the pair and text within (outer kill)
;; - d :: Deletes the pair, but leaves text within
;; - c :: Change the pair for another (e.g. change [1] to {1})
;;
Expand Down

0 comments on commit 3d55f9d

Please sign in to comment.