LoongLee's blog

Vim Advanced Usage

Vim Advanced Usage

Source

Original document: vim_advanced_usage.md

Core Content

Advanced features and plugin usage tips for the Vim editor.

NERDTree Plugin

File tree browser providing an intuitive file management interface.

Create New File

  1. Open NERDTree: :NERDTreeToggle
  2. Move cursor to target directory
  3. Press m to open menu
  4. Select a (Add a new file)
  5. Enter filename and press Enter

Create New Directory

  1. Press m to open menu
  2. Select A (Add a new directory)
  3. Enter directory name and press Enter

Shortcut Summary

Shortcut Function
m Open menu
a Create new file
A Create new directory