Wikia

Vim Tips Wiki

Changes: Script:2226

Edit

Back to page

(Upgrade from 1.2)
 
(2 intermediate revisions by 2 users not shown)
Line 48: Line 48:
 
Shouldn't this Q be redirected to a Viki plugin?
 
Shouldn't this Q be redirected to a Viki plugin?
   
==Comments==
+
==Upgrade from 1.2==
  +
  +
Dunno, when I upgraded from 1.2 (I used Pathogen this time) I get a ton of errors. For example:
  +
<pre>
  +
line 7:
  +
E121: Undefined variable: path
  +
E116: Invalid arguments for function vimwiki#u#path_common_pfx(idx_path, path) == idx_path
  +
E15: Invalid expression: vimwiki#u#path_common_pfx(idx_path, path) == idx_path
  +
Error detected while processing function <SNR>42_setup_buffer_enter..<SNR>42_find_wiki:
  +
</pre>
  +
  +
What to do? --December 18, 2013
  +
  +
This has been '''resolved'''. I was opening the vim session that was used with the old vimwiki. I didn't realize that the session file saves all vim configurations. Interesting.

Latest revision as of 16:22, December 18, 2013

Use this page to discuss script 2226 vimwiki: personal wiki for Vim

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on vim.org).
  • This page may be out of date: check the script's vim.org page above, and its release notes.

Links with duplicate namesEdit

I just started using vimwiki. I came across a situtation where I have link "September 2012" in two pages (for example, in daily log and in weekly reports). Here both "September 2012" points to same page, where as I want them to be different. Is there a workaround?


Mailto linksEdit

It's really a perfect plugin! I've just a proposition to do:

In my professional descriptions wiki, I always add a [[Contact Name]] link and in "Contact Name.wiki" I'd want to add a mailto link, like [[mailto:HisEmail@here.com EMAIL]]. (And if I can put this in a table...).

But I can't find this option. I guess it's not really complicated to implement this option (and I'll try to do it myself), but it might be a good for everyone. Anyway, thank you very much for your work. Geoffrey Nimal


This is fixed.

[mailto:HisEmail@here.com EMAIL]
or
mailto:HisEmail@here.com

should work.

Maxim Kim.


Yes ! But, sorry I wasn't complete enough : the link is not good in the HTML document.


2011-02-15

I am not sure I get what do you mean by 'not good in the HTML doc'. With the current dev version (downloadable from google code) mailto links are just fine in HTML.

Maxim Kim

Run commandsEdit

I'm wondering if it would be possible to achieve the following: I would like to use Viki as a journal, documenting - among other things - commands I ran in terminals. I'm currently keeping simple text files that look like this:

--- This command was used to produce the results:

$ ./some_command.sh

--- Could Viki be tweaked to recognize the leading $ to treat the rest of the line as "typewriter" text?


Shouldn't this Q be redirected to a Viki plugin?

Upgrade from 1.2Edit

Dunno, when I upgraded from 1.2 (I used Pathogen this time) I get a ton of errors. For example:

line    7:
E121: Undefined variable: path
E116: Invalid arguments for function vimwiki#u#path_common_pfx(idx_path, path) == idx_path
E15: Invalid expression: vimwiki#u#path_common_pfx(idx_path, path) == idx_path
Error detected while processing function <SNR>42_setup_buffer_enter..<SNR>42_find_wiki:

What to do? --December 18, 2013

This has been resolved. I was opening the vim session that was used with the old vimwiki. I didn't realize that the session file saves all vim configurations. Interesting.

Around Wikia's network

Random Wiki