| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
* Documentation to show how to integrate with paredit-evil
|
|
`evil-line' is a motion that covers a number of lines as a line
range. This causes surround to add additional line breaks before and
after the text to be wrapped if used with `yss' commands.
The function `surround-line' covers the same characters but this time
as exclusive character range.
|
|
- new modifier "f" after cs , ys or v[sS] . Prompts for function name and then wraps it as fname(selection)
- docs
TODO?
- use "F" to make (e)lisp style function calls?
- do mode detection?
|
|
|
|
|
|
Conformant with vim, evil recently made text objects a' or a" include
outer whitespace. Since evil-surround piggy-backs on evil text-objects,
cs'" would have the following effect:
aaa 'bbb' cccc
=>
aaa"bbb"cccc
This commit causes evil-surround to always shrink the outer range such
that it no longer contains whitespace.
Fixes #11
|
|
Signed-off-by: Michael Markert <markert.michael@googlemail.com>
|
|
Use the code <R> to refer to Evil ranges.
|
|
Look up text objects in `evil-outer-text-objects-map' and
`evil-inner-text-objects-map' instead of relying on a hard-coded
"a"/"i" prefix.
|
|
Surround brackets when invoked with left-bracket pads with space
regardless of current major mode.
The surround-pairs-alist is considerably longer, but the resulting code
is easier to understand.
|
|
|
|
inside the region
|
|
Lower case 's' surrounds as normal.
|
|
|
|
|