Philipp Metzner

Results 51 comments of Philipp Metzner

`see` is a program provided by the [`mime-support`](https://packages.ubuntu.com/xenial/all/mime-support/filelist) package. Can you manually open the html file generated by vim-markdown-preview with `see /tmp/vim-markdown-preview.html`?

I think this also requires a `~/.mailcap` file with the contents like ``` text/html; /usr/bin/firefox %s; description=HTML Text; test=test -n "$DISPLAY"; nametemplate=%s.html ``` And maybe setting the environment variable `$BROWSER=/usr/bin/firefox`....

Regarding the new tab being opened: Did the browser tab displaying the preview lose focus between two calls to `Vim_Markdown_Preview()`? xdotool is then unable to find the browser tab and...

@DmitrySandalov Thanks for investigating :) What version of firefox are you using? I think that makes a difference in how Firefox builds the tab title.

@DmitrySandalov `let vim_markdown_preview_browser='Mozilla Firefox'` is the key. (on master, with a recent version of firefox). This also makes #70 unnecessary. Though I can remember that back at that time my...

I noticed that i3 has similar limitations. xdotool windowactivate only works if the windows (vim and browser) are opened on the same hierarchical level (e.g. side-by-side).

`xscreensaver` has an `XMatrix` display mode... [man page](https://jlk.fjfi.cvut.cz/arch/manpages/man/xscreensaver.1) for more details. Select it by launching `xscreensaver-demo`. This is, however, completely independent from this project.

These are some valuable thoughts! I like the g/f cycling option very much (I think few remember what key maps to whichever color anyways). And using the Alt key might...

I'd find it particularly interesting to create a CLI based on type hinting in the library, e.g. by using [typer](https://typer.tiangolo.com/). This could be installed as extra option.

Dependencies: - update bats-core - install [GNU parallel](https://download.opensuse.org/repositories/home:/tange/Debian_9.0/all/parallel_20201022_all.deb) Tests fail because they don't run in isolation from each other (accessing SDD data files).