New answers tagged replace
1
vote
How to replace, in a simple way, pairs of parentheses?
Without any automation, I would do it like this:
(text text) -> [text text]
Assuming I have enabled (electric-pair-mode) and keybinded (delete-pair) to C-c C-d
C-M-u to go up to the opening (
C-M-...
Top 50 recent answers are included
Related Tags
replace × 194regular-expressions × 62
search × 43
query-replace × 21
string × 12
latex × 11
text-editing × 11
org-mode × 8
query-replace-regexp × 7
evil × 6
region × 6
auctex × 5
isearch × 5
newlines × 5
case-folding × 5
unicode × 4
characters × 4
tex × 4
numbers × 4
dired × 3
hooks × 3
elisp-macros × 3
keyboard-macros × 3
occur × 3
spacemacs × 2