Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (require 'thingatpt)
- (defun evil-replace-symbol-at-point ()
- "Opens a replacement prompt containing the symbol at the point."
- (interactive)
- (evil-ex (concat "%s/\\(" (regexp-quote (symbol-name (symbol-at-point))) "\\)/")))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement