blob: 4ebc6b45bae010962d6034fc7d1deba049e02ceb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
let wiki_1 = {}
let wiki_1.syntax = 'markdown'
let wiki_1.ext = '.md'
"set concealcursor=nc
let g:vimwiki_list = [{'path': '~/wiki/',
\ 'syntax': 'markdown', 'ext': '.md'}]
" TAB in general mode will move to text buffer
nnoremap <TAB> :bnext<CR>
" SHIFT-TAB will go back
nnoremap <S-TAB> :bprevious<CR>
let g:indentLine_setConceal = 0
let g:indentLine_concealcursor = ""
set conceallevel=0
"let g:vimwiki_list = [{'path': '~/wiki/', 'index': 'main'}]
"Key bindings
"Normal mode:
"<Leader>ww -- Open default wiki index file.
"<Leader>wt -- Open default wiki index file in a new tab.
"<Leader>ws -- Select and open wiki index file.
"<Leader>wd -- Delete wiki file you are in.
"<Leader>wr -- Rename wiki file you are in.
"<Enter> -- Follow/Create wiki link
"<Shift-Enter> -- Split and follow/create wiki link
"<Ctrl-Enter> -- Vertical split and follow/create wiki link
"<Backspace> -- Go back to parent(previous) wiki link
"<Tab> -- Find next wiki link
"<Shift-Tab> -- Find previous wiki link
"For more keys, see :h vimwiki-mappings
"Commands
":Vimwiki2HTML -- Convert current wiki link to HTML
":VimwikiAll2HTML -- Convert all your wiki links to HTML
":help vimwiki-commands -- list all commands
":help vimwiki -- General vimwiki help docs
|