Thanks, Maxim. My needs are basic at the moment, but a part of my writing, which is becoming a bigger part, requires footnotes and citations.
I'll check out the help.
------------------------------------------------------------------------------------------
Eric Weir
Decatur, GA USA
eew...@bellsouth.net
let g:vimwiki_list = [{'path': '~/ericweir/', 'syntax': 'markdown'}]
Add let g:vimwiki_folding = 1 to your .vimrc, and you'll get folding.See :h vimwiki for more information, Section 6, including keyboard shortcuts for toggle folding.
As I am not a developer, but just an avid user who hasn't used all the options available, I am not sure what to answer: I don't know if some syntaxes will include folding by default.
I use both mediawiki and default syntax (which I am pretty sure are different), on two different wikis, and they do not include folding by default. I added the line let g:vimwiki_folding = 1 to .vimrc, and that forces folding for both my wikis.
To use mediawiki syntax, you'd have to specify that you want this syntax in your wiki definitions. Below is reproduced the content of my vimwiki section, from by .vimrc. Beware that some lines are commented (with ").
On Nov 25, 2011, at 6:11 AM, Etienne B. Roesch wrote:
To use mediawiki syntax, you'd have to specify that you want this syntax in your wiki definitions. Below is reproduced the content of my vimwiki section, from by .vimrc. Beware that some lines are commented (with ").I'm gonna try adapting your way of specifying mediawiki syntax to specifying markdown syntax. It's different from the method I asked about.
let wiki.syntax = 'markdown'
autocmd BufRead,BufNewFile *.wiki :set ft=markdown
let g:vimwiki_folding=1
I am sorry, I think you have reached the extent of my knowledge about vimwiki...
On Nov 26, 2011, at 8:43 AM, Etienne B. Roesch wrote:I am sorry, I think you have reached the extent of my knowledge about vimwiki...Thanks, Etienne. Yes, we do seem to be in the same boat.