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?

vimでインクリメントする際に、0埋めされた数字も10進数として扱って欲しい

Last updated at Posted at 2023-11-05

対処法

以下の設定を行うことで、0始まりの数値でも10進数扱いしてくれるようになる (デフォルトでは8進数扱い)

.vimrc
set nrformats=
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?