Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

11
  • \$\begingroup\$ Nice! In this specific instance, <C-a> is shorter than t], which is a fun little hack. Also, I think you technically need 2 <cr> since it asks for confirmation. \$\endgroup\$ Commented Sep 21, 2016 at 6:48
  • \$\begingroup\$ Vim answers to standard code-golf challenges should be scored in bytes. \$\endgroup\$ Commented Sep 21, 2016 at 6:49
  • \$\begingroup\$ Also, norm df= is shorter than s/.*=//g \$\endgroup\$ Commented Sep 21, 2016 at 6:49
  • 1
    \$\begingroup\$ Also, 3wC] = {<esc> is shorter than <C-a>di]$s = {<esc>. \$\endgroup\$ Commented Sep 21, 2016 at 6:53
  • 1
    \$\begingroup\$ @Geobits Where's your Emacs answer? \$\endgroup\$ Commented Sep 22, 2016 at 0:27