summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-11-01Use `surround-line' instead of `evil-line' for linewise operationsFrank Fischer
`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.
2012-11-01Fix link to EvilFrank Fischer
2012-10-22Add wrap in function callIsoLinearCHiP
- 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?
2012-08-06Merge pull request #14 from milkypostman/masterTim Harper
Add autoloads for plain emacs functions
2012-08-06add autoloads to interactive functions for use in emacs properDonald Curtis
2012-05-25Merge pull request #13 from milkypostman/masterTim Harper
add autoloads
2012-05-25add autoloadsDonald Curtis
2012-03-27Don't trim outer whitespaceTim Harper
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
2012-02-27Merge pull request #9 from cofi/masterTim Harper
Fix markup glitch in readme.
2012-02-28Fix markup glitch in readme.Michael Markert
Signed-off-by: Michael Markert <markert.michael@googlemail.com>
2012-02-27Merge pull request #8 from cofi/masterTim Harper
Mention the new buffer local surround pairs in the readme
2012-02-28Mention the buffer local surround pairs in the readme.Michael Markert
Signed-off-by: Michael Markert <markert.michael@googlemail.com>
2012-02-27Merge pull request #7 from cofi/docsTim Harper
Docs -- Add a readme file
2012-02-27Merge pull request #6 from cofi/buffer-localTim Harper
Make surround-pairs-alist buffer local.
2012-02-27Add note about sentence behavior with link to issue.Michael Markert
Signed-off-by: Michael Markert <markert.michael@googlemail.com>
2012-01-24Add readme.Michael Markert
Signed-off-by: Michael Markert <markert.michael@googlemail.com>
2012-01-22Make surround-pairs-alist buffer local.Michael Markert
Signed-off-by: Michael Markert <markert.michael@googlemail.com>
2011-09-05Merge pull request #3 from epsilon47/masterTim Harper
Necessary after Evil commit 375b273
2011-09-05Update `interactive' formsVegard Øye
Use the code <R> to refer to Evil ranges.
2011-09-02Merge pull request #2 from epsilon47/masterTim Harper
Ref. "Swapping 'i' and 'e'" on the mailing list
2011-09-01Use text object keymapsVegard Øye
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.
2011-08-23Refactor surround-pair for readability, flexibility. Subtle behavior changeTim Harper
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.
2011-08-23fixes whitespace + 1 munching issue when deleting surrounding brackets + spaceTim Harper
2011-08-13when deleting surround with left-bracket (,{.[... etc... trim the space ↵Tim Harper
inside the region
2011-08-13'S' causes normal region to end up on it's own line, as in surround.vimTim Harper
Lower case 's' surrounds as normal.
2011-08-13adds angle bracket surroundTim Harper
2011-08-13Replaced with Vegard's port of vimpulse-surroundTim Harper
2011-08-12Began port. Surround region working. Change surround/delete surround not.Tim Harper
2011-08-12Initial commitTim Harper