summaryrefslogtreecommitdiff
path: root/surround.el
AgeCommit message (Collapse)Author
2014-06-16Rename surround.el to evil-surround.elPhilippe Vaucher
2014-06-16Improve surround-outer-overlay and surround-inner-overlay (issue/30)Yuri Aisaka
2014-02-04Merge branch 'master' of https://github.com/lyro/evil-surroundTim Harper
2013-09-27Extract surround-operator-alist to a customizeable variableaheaume
* Documentation to show how to integrate with paredit-evil
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-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-06add autoloads to interactive functions for use in emacs properDonald Curtis
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-01-22Make surround-pairs-alist buffer local.Michael Markert
Signed-off-by: Michael Markert <markert.michael@googlemail.com>
2011-09-05Update `interactive' formsVegard Øye
Use the code <R> to refer to Evil ranges.
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