Skip to content

Instantly share code, notes, and snippets.

@knollet
Created November 16, 2023 17:04
Show Gist options
  • Save knollet/2fd39aad129d0ee6a0e81da6cd84ec89 to your computer and use it in GitHub Desktop.
Save knollet/2fd39aad129d0ee6a0e81da6cd84ec89 to your computer and use it in GitHub Desktop.
surround.el
;;;;; insert pair -- "Surround"
(global-set-key (kbd "<f12> s \"") 'insert-pair)
(global-set-key (kbd "<f12> s '") 'insert-pair)
(global-set-key (kbd "<f12> s (") 'insert-pair)
(global-set-key (kbd "<f12> s [") 'insert-pair)
(global-set-key (kbd "<f12> s {") 'insert-pair)
(global-set-key (kbd "<f12> s <") 'insert-pair)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment