0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

ndmacroで数字をインクリメントする in Emacs

Posted at

ndmacro.el はすごく便利で無いと困るけどあまり知名度がなさそうなので紹介しておく。

使い方

適当にロードパスに ndmacro.elを置いて

(require 'ndmacro) (global-set-key (kbd "C-t") 'ndmacro)

してから

10
11

と入力して C-tを連打すれば

10
11
12
13
14

と勝手にインクリメントして連番にしてくれる。2個飛ばしとかデクリメントも勝手に認識してくれるし

010
011

とか0を入れてもちゃんと動く。ステキ!

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?