PracticalVim Tip43 - yszheda/wiki GitHub Wiki

Table of Contents

Tip 43: Expore the File System with netrw

Return to the top: <> %toc

Preparation

Minimum requirement fot your _vimrc_ file:

Meet netrw--Vim's Native File Explorer

  • `k`/`j`
  • `-`: open the parent directory

Opening the File Explorer

| Ex Command | Shorthand | Effect | | `:edit .` | `:e.` | Open file explorer for current working directory | | `:Explore` | `:E` | Open file explorer for the directory of the active buffer |

References

  • `:SExplore`: open file explorer in a horizonrtal split window
  • `:VExplore`: open file explorer in a vertical split window

Working with Split Windows

Doing More with netrw

create new file

References

create new directories

References

rename existing files or directories

References

delete files or directories

References

References

across network

References

⚠️ **GitHub.com Fallback** ⚠️