Skip to content
Raidou edited this page Jan 25, 2021 · 5 revisions

Quickstart

This guide will teach you how to get up and running with coc-explorer.

Install

Just run :CocInstall coc-explorer in the vim command line.

Launching

Run :CocCommand explorer to launch coc-explorer. You can bind this to a key mapping, for example:

" We bind it to <leader>e here, feel free to change this
nmap <leader>e :CocCommand explorer<CR>

Usage

By default, coc-explorer shows the whole current working directory. You can change the working directory to a folder by pressing enter on a folder. To expand a folder or open a file, use the l key. To collapse a folder use the h key. You can use j or k to move the cursor up or down.

More tips

  • r to rename the folder or file the cursor is currently on
  • df to move the folder or file the cursor is currently on to the trash (has confirmation)
  • dF to permanently delete the folder or file the cursor (has confirmation)
  • yy, dd, and p to copy, cut, and paste, respectively
  • Learn more useful binds by pressing the ? key
Clone this wiki locally