Skip to content

Commit d2c416b

Browse files
committed
Add mapping example.
1 parent c42f922 commit d2c416b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

doc/pydocstring.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,5 +189,13 @@ Numpy style docstring template example.
189189
"""
190190
pass
191191
192+
Override default mapping.
193+
194+
Add following setting to your .vimrc or _vimrc.
195+
Following setting map <C-m> to generate docstring.
196+
197+
nmap <silent> <C-m> <Plug>(pydocstring)
198+
199+
192200
==============================================================================
193201
vim:tw=78:ts=8:ft=help:norl:noet:fen:fdl=0:

0 commit comments

Comments
 (0)