@@ -404,14 +404,14 @@ CTRL-X カーソルの下または後の数字またはアルファベット
404
404
される (そのため効果的に [count] ごとに減少する配列を
405
405
作ることができる)。 {Vi にはない}
406
406
407
- The CTRL-A and CTRL-X commands can work for :
408
- - signed and unsigned decimal numbers
409
- - unsigned binary, octal and hexadecimal numbers
410
- - alphabetic characters
411
-
412
- This depends on the 'nrformats' option :
413
- - When 'nrformats' includes "bin", Vim assumes numbers starting with '0b' or
414
- '0B' are binary.
407
+ CTRL-A と CTRL-X が適用できるのは :
408
+ - 符号付き及び符号なし10進数
409
+ - 符号なし2進数、8進数および16進数
410
+ - アルファベット文字
411
+
412
+ 'nrformats' オプションに依存している :
413
+ - 'nrformats' に "bin" が含まれる時、 Vim は '0b' または '0B' で始まる数値を2進
414
+ 数として扱う。
415
415
- 'nrformats' が "octal" を含むときは、Vimは '0' で始まり、'8' や '9' を含まな
416
416
い数字を8進数として取り扱う。他の数は10進数とみなされ、マイナス符号が付いて
417
417
もよい。カーソルが数の上にあれば、コマンドはその数に適用される。そうでなけれ
@@ -438,9 +438,8 @@ CTRL-X を使うと "0x0ff" となる。
438
438
Note: 'nrformats' が "octal" を含んでいるとき、0で始まる10進数は、8進数と区別
439
439
しづらいため、意図しない結果になる可能性がある。
440
440
441
- Note similarly, when 'nrformats' includes "bin", binary numbers with a leading
442
- '0x' or '0X' can be interpreted as hexadecimal rather than binary since '0b'
443
- are valid hexadecimal digits.
441
+ Note: 'nrformats' が "bin" を含んでいるとき、'0x' または '0X' で始まる2進数は
442
+ 16進数として解釈される。これは '0b' が16進数の桁として有効だからである。
444
443
445
444
コマンド CTRL-A はマクロ内でたいへん便利である。例: 番号付きリストを作るには、
446
445
次の方法を使う。
@@ -851,9 +850,9 @@ NOTE: 以前のバージョンでは CTRL-V が特別に扱われていた。こ
851
850
*:sic* *:sIc* *:sie* *:sIe* *:sIg* *:sIl* *:sin* *:sIn* *:sIp*
852
851
*:sip* *:sIr* *:sir* *:sr* *:src* *:srg* *:sri* *:srI* *:srl*
853
852
*:srn* *:srp*
854
- 2-letter and 3-letter :substitute commands ~
853
+ 2文字もしくは3文字の :substitute コマンド ~
855
854
856
- List of :substitute commands
855
+ :substitute コマンドリスト
857
856
| c e g i I n p l r
858
857
| c :sc :sce :scg :sci :scI :scn :scp :scl ---
859
858
| e
@@ -865,7 +864,7 @@ NOTE: 以前のバージョンでは CTRL-V が特別に扱われていた。こ
865
864
| l
866
865
| r :src --- :srg :sri :srI :srn :srp :srl :sr
867
866
868
- Exceptions :
867
+ 例外 :
869
868
:scr is `:scriptnames `
870
869
:se is `:set `
871
870
:sig is `:sign `
@@ -1695,17 +1694,17 @@ Vimはソート関数とソートコマンドを備えている。ソート関
1695
1694
1696
1695
[i]をつけると大文字・小文字を区別しない。
1697
1696
1698
- Options [n][f][x][o][b] are mutually exclusive.
1697
+ [n][f][x][o][b] オプションはどれかひとつのみ指定できる。
1699
1698
1700
1699
[n]をつけると行の({pattern} のマッチの後ろまたは内側
1701
1700
の)最初の10進数の数字でソートする。
1702
1701
数字が '-' で始まる場合、マイナスとみなされる。
1703
1702
1704
- With [f] sorting is done on the Float in the line.
1705
- The value of Float is determined similar to passing
1706
- the text (after or inside a {pattern} match) to
1707
- str2float() function. This option is available only
1708
- if Vim was compiled with Floating point support.
1703
+ [f] をつけると行中の小数点数でソートする。
1704
+ 小数点数の値は ( {pattern} によるマッチの後ろまたは内側
1705
+ の) テキストを str2float() に渡すようにして決定される。
1706
+ このオプションは Vim が小数点数サポートを有効にしてコン
1707
+ パイルされたときのみ使える。
1709
1708
1710
1709
[x]をつけると行の({pattern} のマッチの後ろまたは内側
1711
1710
の)最初の16進数の数字でソートする。"0x" と "0X" は無視
@@ -1715,8 +1714,8 @@ Vimはソート関数とソートコマンドを備えている。ソート関
1715
1714
[o]をつけると行の({pattern} のマッチの後ろまたは内側
1716
1715
の)最初の8進数の数字でソートする。
1717
1716
1718
- With [b] sorting is done on the first binary number in
1719
- the line (after or inside a {pattern} match).
1717
+ [b] をつけると ( {pattern} によるマッチの後ろまたは内側の)
1718
+ 行の中の最初の2進数でソートする。
1720
1719
1721
1720
[u]をつけると (u は unique=「一意の」という意味に基づ
1722
1721
く) 連続する同一行の最初の行だけを残す。([i]がつくと大
0 commit comments