-
Notifications
You must be signed in to change notification settings - Fork 46
Quickstart
Raidou edited this page Jan 25, 2021
·
5 revisions
This guide will teach you how to get up and running with coc-explorer.
Just run :CocInstall coc-explorer in the vim command line.
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>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.
-
rto rename the folder or file the cursor is currently on -
dfto move the folder or file the cursor is currently on to the trash (has confirmation) -
dFto permanently delete the folder or file the cursor (has confirmation) -
yy,dd, andpto copy, cut, and paste, respectively - Learn more useful binds by pressing the
?key