Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion autoload/wiki.vim
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ endfunction
" }}}1

function! wiki#goto_index() abort " {{{1
call wiki#url#parse('wiki:/index').follow()
let l:index_url = printf('wiki:/%s', g:wiki_index_name)
call wiki#url#parse(l:index_url).follow()
endfunction

" }}}1
Expand Down
6 changes: 6 additions & 0 deletions doc/wiki.txt
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,12 @@ OPTIONS *wiki-config-options*

Default: 1

g:wiki_index_name
A string with the index page name for the wiki. The value should not include
the file extension.

Default: 'index'

*g:wiki_journal*
A dictionary for configuring the journal/diary feature. Available options
are:
Expand Down