Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Answer

Commonmark migration
Source Link

##Emacs, (削除) 10 (削除ここまで) 8 keystrokes

Emacs, (削除) 10 (削除ここまで) 8 keystrokes

F3 C-1 0 * ENTER F4 C-9 F4

###Explanation F3 Starts a macro recording C-1 0 * Apply 10 times command '*': prints 10 asterix' ENTER Insert new line F4 Stops the macro record C-9 F4 Apply 9 times the macro

Explanation

F3 Starts a macro recording
C-1 0 * Apply 10 times command '*': prints 10 asterix'
ENTER Insert new line
F4 Stops the macro record
C-9 F4 Apply 9 times the macro

Thanks to Sean for saving two keystrokes, suggesting to replace C-udigit with C-digit.

##Emacs, (削除) 10 (削除ここまで) 8 keystrokes

F3 C-1 0 * ENTER F4 C-9 F4

###Explanation F3 Starts a macro recording C-1 0 * Apply 10 times command '*': prints 10 asterix' ENTER Insert new line F4 Stops the macro record C-9 F4 Apply 9 times the macro

Thanks to Sean for saving two keystrokes, suggesting to replace C-udigit with C-digit.

Emacs, (削除) 10 (削除ここまで) 8 keystrokes

F3 C-1 0 * ENTER F4 C-9 F4

Explanation

F3 Starts a macro recording
C-1 0 * Apply 10 times command '*': prints 10 asterix'
ENTER Insert new line
F4 Stops the macro record
C-9 F4 Apply 9 times the macro

Thanks to Sean for saving two keystrokes, suggesting to replace C-udigit with C-digit.

Improvement (2 keystrokes)
Source Link
YSC
  • 812
  • 5
  • 10

##Emacs, 10(削除) 10 (削除ここまで) 8 keystrokes

F3 C-u1 0 * ENTER F4 C-u9 F4

###Explanation F3 Starts a macro recording C-u 11 0 * Apply Apply 10 times command '*': prints 10 asterix' ENTER Insert new line F4 Stops the macro record C-u 99 F4 Apply Apply 9 times the macro

Thanks to Sean for saving two keystrokes, suggesting to replace C-udigit with C-digit.

##Emacs, 10 keystrokes

F3 C-u1 0 * ENTER F4 C-u9 F4

###Explanation F3 Starts a macro recording C-u 1 0 * Apply 10 times command '*': prints 10 asterix' ENTER Insert new line F4 Stops the macro record C-u 9 F4 Apply 9 times the macro

##Emacs, (削除) 10 (削除ここまで) 8 keystrokes

F3 C-1 0 * ENTER F4 C-9 F4

###Explanation F3 Starts a macro recording C-1 0 * Apply 10 times command '*': prints 10 asterix' ENTER Insert new line F4 Stops the macro record C-9 F4 Apply 9 times the macro

Thanks to Sean for saving two keystrokes, suggesting to replace C-udigit with C-digit.

Source Link
YSC
  • 812
  • 5
  • 10

##Emacs, 10 keystrokes

F3 C-u 1 0 * ENTER F4 C-u 9 F4

###Explanation F3 Starts a macro recording C-u 1 0 * Apply 10 times command '*': prints 10 asterix' ENTER Insert new line F4 Stops the macro record C-u 9 F4 Apply 9 times the macro

AltStyle によって変換されたページ (->オリジナル) /