
ファイルを参照するのに使用するのが好きですless
。複数のファイルを移動することがよくあります。
man ファイルには、N 個のファイルを前方に移動できると書かれています。
:n Examine the next file (from the list of files given in the command line). If a number N
is specified, the N-th next file is examined.
これをどのように指定すればよいですか番号N移動するN番目の次のファイル? あらゆることを試しましたが、解決できませんでした。
答え1
StackExchange ネットワークのこれらの回答で説明されているように:
コマンドの前に番号を入力する必要があります。2 つのファイルをスキップするには、 を押し
3:n
てから を押しますEnter
。 https://unix.stackexchange.com/a/676818/377222
もう一つの役に立つ答えhttps://superuser.com/a/1254274/1056672
注意: これらのコマンドでは、実際には : を入力する必要があります (コロンが既に表示されている場合でも)。
:n jump to next file :p jump to previous file :x jump to first file 3:n jump 3 files ahead 3:p jump 3 files back 3:x jump to 3rd file :f print current file name/info (helpful if you forget where you are)