Source

.emacs.d / vendor / yasnippet / snippets / emacs-lisp-mode / x-grabthing.yasnippet

1
2
3
4
5
# contributor: Xah Lee (XahLee.org)
# name: grab word under cursor
# key: x-grabthing
# --
(setq $0 (thing-at-point 'symbol))