OpenWindows ユーザーズガイド (上級編)

行番号の表示と非表示

行番号を表示するには、:set nu と入力して Return キーを押します。

行番号は左端に表示されます。なお、ファイルを印刷しても、これらの行番号は印刷されません。行番号が見えるのは画面上だけです。

1 Oh, when I die, take my saddle from the wall,
2 Put it on my pony, lead him out of the stall.
3 Tie my bones to his back, point our faces to the west,
4 And we'll ride the prairies that we love the best.
5
6 Ride around, little doggies,
7 Ride around real slow.
8 Firey and Snuffy are rarin' to go.
‾
‾
‾
‾
‾
‾
:set nu

行番号を表示させない場合は、:set nonu と入力して Return キーを押します。