Confluence Wiki for Vi

.ctags / ctags.cnf

--langdef=confluencewiki
--langmap=confluencewiki:.wiki
--regex-confluencewiki=/^h1.[ \t]+(.+)$/\1/h,header/
--regex-confluencewiki=/^h2.[ \t]+(.+)$/. \1/h,header/
--regex-confluencewiki=/^h3.[ \t]+(.+)$/.   \1/h,header/
--regex-confluencewiki=/^h4.[ \t]+(.+)$/.     \1/h,header/
--regex-confluencewiki=/^h5.[ \t]+(.+)$/.       \1/h,header/
--regex-confluencewiki=/^h6.[ \t]+(.+)$/.         \1/h,header/
1
2
3
4
5
6
7
8

.vimrc / _vimrc

let tlist_confluencewiki_settings = 'confluencewiki;h:Headers'

1
2
3

这玩意很好使,同样是 .wiki 后缀,可以同时支持 Vimwiki 和 Confluence Wiki。

See Also

Help
[count]gg 跳转到第 [count] 行,默认第 1 行。
[count]G 跳转到第 [count] 行,默认最后一行。
[count]j 向下跳转 [count] 行,默认跳转一行。
[count]k 向上跳转 [count] 行,默认跳转一行。
/ 开始搜索。按 <Esc> 退出。
gh 跳转到首页。
gb 跳转到博客首页。
gw 跳转到 Wiki 首页。
gt 跳转到我的 Twitter Profile 页。
gp 跳转到我的 Github Profile 页。
? 打开帮助。按 <Esc> 退出。