Skip to content

Instantly share code, notes, and snippets.

@Gavinok
Created July 6, 2022 20:43
Show Gist options
  • Save Gavinok/818e195332849dc1f581db49a0dbe176 to your computer and use it in GitHub Desktop.
Save Gavinok/818e195332849dc1f581db49a0dbe176 to your computer and use it in GitHub Desktop.
Make the ci( function like it does in vim
(defun my/jump-to-par (&rest args)
(when (< (save-excursion
(search-forward "("))
(save-excursion
(search-forward ")")))
(search-forward "(")))
(advice-add 'evil-inner-paren :before #'my/jump-to-par)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment