LoginSignup
8
11

More than 5 years have passed since last update.

NERDTreeの初歩

Last updated at Posted at 2017-03-23

Vimmerならみんな使ってるNERDTree。これだけは覚えておけ、というコマンドです。

ファイル・ディレクトリ共通

コマンド 説明
mm 名前変更、移動
md 削除
ma 追加
mc コピー

ファイルの開き方

コマンド 説明
o(Enter) (NERDTreeのバッファで)開く
i 水平分割で上に開く
s 垂直分割で左に開く
t タブで開く

ツリーの操作

コマンド 説明
o (ディレクトリの上で)開く/閉じる
O 以下すべて開く
X 以下すべて閉じる

番外編

NERDTreeのバッファが他のファイルで塞がれた場合は「:ls」でバッファ一覧を表示して、NERDTreeのバッファを「:b2」などで開きます。

以上です。

8
11
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
8
11