LoginSignup
0
0

More than 5 years have passed since last update.

xyzzyで連番を簡単に書きだす。0埋めもできるよ!

Posted at

繰り返し機能のndmacroを使って連番が作成できる。

インストール方法

からダウンロードしてきて使うか、Netinstallerに

を追加してインストールする。

設定

どう設定するかは人によりけりだろうけど自分の場合は

~/.xyzzy.d/30-ndmacro.l
;ndmacro
(defconstant *ndmacro-key* #\C-t)
(global-set-key *ndmacro-key* 'ndmacro-exec)
(autoload 'ndmacro-exec "ndmacro" t)

ってやってる。

使い方

01
02

と打ってC-tすると

01
02
03
04
05
...

と打つたびに追加される。

テキストエディタを使ってファイルを一括リネームするLinameと組み合わせて使うと便利!

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