-
Notifications
You must be signed in to change notification settings - Fork 45
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.
-
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
, andp
to copy, cut, and paste, respectively - Learn more useful binds by pressing the
?
key