Questions tagged [plugin-vimwiki]

Questions about the Vimwiki plugin which allows a personal wiki to be created within vim. The wiki content comes from interlinked text files written in a wiki syntax.

Filter by
Sorted by
Tagged with
1
vote
0answers
24 views

embed one text file in another and edit the embedded file from the file it's embedded in

Is there any existing plugin or gist somewhere that would allow you to embed one text file inside another? Ideally it'd also allow editing the embedded file from the file in which it is embedded. ...
0
votes
1answer
26 views

How can I backup VimWiki on Git

I'll start by saying that I never wrote any VimScript or done any advanced configuration in my .vimrc. I'm a super noob 😅. Bear with me. I've been trying to backup my VimWiki on Git. I want to add ...
0
votes
1answer
17 views

VimWiki linking to files in other directories with special characters

With vimwiki we can create a link to another file, [[DelmeDirectory/delme.md|File]]. I have some directories which have the form Notes_0-0-0 and aren't recognized. i.e. pressing Enter with the cursor ...
0
votes
1answer
16 views

How to import library in my template python script? (not working like in vim like in the repl)

I have a python script for generating templates that's being invoked by this line in my vimrc file: autocmd BufNewFile ~/Documents/wiki/diary/*.mkd :silent 0r !vimwiki-diary-template.py That works. ...
4
votes
3answers
127 views

How do I jump to tags instead of lines?

I'm using vim as note-taking software. My notes grow to thousands of lines across 7 different files. If I was writing code, I would be able to jump to a function definition in a different file ...
2
votes
2answers
267 views

UltiSnips not working with VimWiki

I have been trying to make UltiSnips work with VimWiki to no avail, as they share mappings for expand snippet/next link (on <tab>). I tried setting VimWiki's bindings to something else by using ...
1
vote
0answers
29 views

How to make VimWiki open file directly in vim instead of VSCode

While using VimWiki, I linked to a file on my computer using [[file:/path/to/file.py]] And when I hit enter, it opens the file with VSCode. I already when to the file in Finder, clicked 'Get Info' ...
0
votes
0answers
27 views

Vimwiki: Setting up mathjax

I'm trying to set up MathJax to work with vimwiki. According to the manual: using the MathJax server for rendering (needs an internet connection). Add to your HTML template the following line: ...
9
votes
3answers
2k views

How to search multiple occurences of a vimwiki tag?

I'm using the vimwiki plugin and trying to figure out tagging with vimwiki-syntax-tags. I can add a tag :tag-example: to a vimwiki .wiki file. I can search :VimwikiSearchTags tag-example and it ...
5
votes
2answers
2k views

How do I get multiple vimwikis to show under “Vimwiki / Open Index” in the gvim menu?

I want to work between two vimwiki directories: a private vimwiki and a public vimwiki. How do I get multiple vimwikis in the gvim Vimwiki > Open index > menu? In my ~/.vimrc I have the two ...
1
vote
0answers
60 views

Folding in VimWiki like in org mode?

I moved from org mode to VimWiki. I used to write "logs" like this * 2020-02-04 FeatureA - progress Feature B - progress The file can get pretty long as you can imagine. Now with ...
4
votes
1answer
51 views

Move lines with tildes to a certain section of a file

I use vim to write my to-do list in markdown format. To mark a certain task "done" I just make it strikethrough with two tildes(~). Is there a way to automatically move all strikethrough text to a ...
1
vote
0answers
31 views

Appending file format while turning text into link (by pressing Enter) in Vimwiki

When using the vimwiki plugin, when you want to convert any text into a link you can press enter on the selection. Then you follow the link, create the file and work with it. The problem: When you ...
2
votes
1answer
173 views

Vimwiki open specific diary on vim startup with bash alias

I am trying to figure out how to open a specific vimwiki diary on opening vim. With one wiki I use an alias like alias todo='vim -c VimwikiDiaryIndex' which works perfectly. But now I want an ...
3
votes
2answers
1k views

Can vimwiki be made to treat list indentation the way vim-notes does?

I've looked through the vimwiki documentation and a few questions here on SO, but don't see how I can manage this. In vim-notes, hitting TAB within a list indents the entire list item. In vimwiki, ...
3
votes
2answers
807 views

Search through entire vimwiki

Is there a (built-in) way to search all vimwiki files for a certain pattern? I don't mean searching tags, but something akin to using grep on all the wiki files in the vimwiki directory. If there is ...
1
vote
1answer
77 views

Can't make vimwiki honor setting passed via command line

I am trying to write a wrapper shell script that is supposed to launch vim with a vimwiki in current directory: #!/bin/bash gvim -c "let g:vimwiki_list = [{'path': '$PWD/'}] | normal ,ww" The ...
2
votes
1answer
1k views

Mardown files always have vimwiki filetype (vimwiki plugin)

Here is the relevant content of my .vimrc let g:vimwiki_global_ext=0 let g:vimwiki_list = [{'path': 'C:\Users\<USER>\vimwiki', \ 'syntax': 'markdown', 'ext': '.md'}] The ...
1
vote
1answer
1k views

No italics in vim

I am using vimwiki on nvim 0.1.7 on Konsole 16.12.3 on Plasma 5.9.5 on Kubuntu 17.04. Wiki text appears bold when it is between two stars. But when between two underscores, it does not appear in ...
2
votes
1answer
268 views

How to make linebreak play along with conceal

I am using vimwiki with and conceal the long URLs as links like this: [[http://a-really-long-long-url|Link]] rest of text Under my configuration (conceallevel=2 concealcursor=nc linebreak) it should ...
0
votes
2answers
5k views

How to place multiple lines of text in one single table cell in vimwiki?

I want to have multiple lines of text appear in one cell (one row and one column). In Vimwiki it looks adequate. However, when I convert Vimwiki to HTML, each sentence gets its own row. So I know ...
3
votes
2answers
539 views

Poor syntax highlighting in vimwiki (command prompt)

Is there any way to change the syntax highlighting in vimwiki in windows. I could not properly see the line enclosed between [[some word]]. The same works well in Linux.
5
votes
1answer
4k views

Vimwiki: can't fold list items

With vimwiki you can fold headers and lists as following: Example for headers and list folding: = My current task = * [ ] Do stuff 1 * [ ] Do substuff 1.1 * [ ] Do substuff 1.2 * [ ] ...
6
votes
1answer
1k views

Altering HTML templates in vimwiki

The vimwiki plugin offers a great feature of converting whole Wiki to HTML: :VimwikiAll2HTML. But it bothers me that there are no back links to the main page, and the only way to navigate back to the ...