Skip to content

Commit 1b97e6d

Browse files
committed
📝 Add RECOMMENDED section to help
1 parent eea36da commit 1b97e6d

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

doc/denops.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,23 @@ API Reference: https://deno.land/x/denops_std/mod.ts
2828
=============================================================================
2929
USAGE *denops-usage*
3030

31+
-----------------------------------------------------------------------------
32+
RECOMMENDED *denops-recommended*
33+
34+
Add the following recommended settings to your |vimrc| or |init.vim|:
35+
>
36+
" Interrupt the process of plugins via <C-c>
37+
noremap <silent> <C-c> <Cmd>call denops#interrupt()<CR><C-c>
38+
inoremap <silent> <C-c> <Cmd>call denops#interrupt()<CR><C-c>
39+
cnoremap <silent> <C-c> <Cmd>call denops#interrupt()<CR><C-c>
40+
41+
" Restart Denops server
42+
command! DenopsRestart call denops#server#restart()
43+
44+
" Fix Deno module cache issue
45+
command! DenopsFixCache call denops#cache#update(#{reload: v:true})
46+
<
47+
3148
-----------------------------------------------------------------------------
3249
SHARED SERVER *denops-shared-server*
3350

0 commit comments

Comments
 (0)