Skip to content

Commit 81a45d0

Browse files
committed
Add shortcut R to refresh the index, #26
1 parent d1502bd commit 81a45d0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugin/dokuvimki.py

+1
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,7 @@ def index(self, query='', refresh=False):
398398
vim.command('map <silent> <buffer> <enter> :Py dokuvimki.cmd("index")<CR>')
399399
vim.command('map <silent> <buffer> r :Py dokuvimki.cmd("revisions")<CR>')
400400
vim.command('map <silent> <buffer> b :Py dokuvimki.cmd("backlinks")<CR>')
401+
vim.command('map <silent> <buffer> R :Py dokuvimki.index("", True)<CR>')
401402

402403
vim.command('setlocal nomodifiable')
403404
vim.command('2')

0 commit comments

Comments
 (0)