| CARVIEW |
Select Language
HTTP/2 200
server: GitHub.com
content-type: text/html; charset=utf-8
last-modified: Sat, 27 Dec 2025 18:38:11 GMT
access-control-allow-origin: *
strict-transport-security: max-age=31556952
etag: W/"69502793-2c98"
expires: Mon, 29 Dec 2025 14:25:19 GMT
cache-control: max-age=600
content-encoding: gzip
x-proxy-cache: MISS
x-github-request-id: 3D99:2F7ECD:8F07A0:A0776C:69528CF6
accept-ranges: bytes
age: 0
date: Mon, 29 Dec 2025 14:15:19 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210029-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1767017719.160812,VS0,VE199
vary: Accept-Encoding
x-fastly-request-id: 2f3318af270d50b769307e9fae1dfab6b4866f19
content-length: 3073
Surround
Surround
Helix includes built-in functionality similar to vim-surround. The keymappings have been inspired from vim-sandwich:

| Key Sequence | Action |
|---|---|
ms<char> (after selecting text) | Add surround characters to selection |
mr<char_to_replace><new_char> | Replace the closest surround characters |
md<char_to_delete> | Delete the closest surround characters |
You can use counts to act on outer pairs.
Surround can also act on multiple selections. For example, to change every occurrence of (use) to [use]:
%to select the whole filesto split the selections on a search term- Input
useand hit Enter mr([to replace the parentheses with square brackets
Multiple characters are currently not supported, but planned for future release.