Re:VimWiki – A personal wiki for Vim
by ghostwreck on Monday December 12, 2016 @11:57AM
(#13159551)
I have tried using this or orgmode at various points, but I haven't been able to find a good workflow for linking images/screen shots with notes (which I do quite often in Evernote). I use vim as my primary IDE, so I would love to find a solution for image links to let me use VimWiki as well.
[ Parent
| on HN ]
Not sure what you mean by workflow, but you can include images like this:
{{file:../../images/image.png}}
{{http://example.com/image.png}}
Vim is of course not able to display images, but they appear when you convert the wiki page to HTML.What kind of workflow do you mean? Simply taking a screenshot and inserting a link to it would be pretty easy, at least in Emacs
;; There probably are better solutions already
;; available somewhere.
(defun org-insert-screenshot (filename)
(interactive "sFilename: ")
(let ((filename (concat filename ".png")))
;; import is from ImageMagick, change to whatever you like to use
(call-process "import" nil nil nil filename)
(insert (format "[[file:%s]]" filename))
(org-display-inline-images)))