LoginSignup
5
5

More than 5 years have passed since last update.

Vim起動時に複数のファイルを開く

Posted at

一度ぐらいは投稿したかったので試しに
何番煎じだよ!なんていわないで...

複数ファイルを起動

#vim file1 file2 ...

vimの後にファイル名をつなげるだけです。
Linuxなどを使用しているなら

#vim `find ./ -name "*.html"`

などすると編集したいファイルを一気に開けちゃったりします
すごく...便利です...

ファイルの移動

コマンドラインモード時に

 :n

で次ファイルへと遷移します。

 :N

で前ファイルへと遷移します。

起動ファイルの確認

コマンドラインモード時に

:file

とすることで開いているファイルの一覧が表示されます。

5
5
2

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
5
5