fanglingsu / vimb

Vimb - the vim like browser is a webkit based web browser that behaves like the vimperator plugin for the firefox and usage paradigms from the great editor vim. The goal of vimb is to build a completely keyboard-driven, efficient and pleasurable browsing-experience.
https://fanglingsu.github.io/vimb/
GNU General Public License v3.0
1.34k stars 99 forks source link

Custom homepage from `file:///` URI is downloaded, not opened #715

Closed machinedgod closed 2 years ago

machinedgod commented 2 years ago

Steps to reproduce

  1. create a custom html file
  2. configure vimb with a home-page parameter
  3. attempt to navigate home with gh

Expected behaviour

Custom homepage is opened.

Actual behaviour

Homepage file is sent for download.

fanglingsu commented 2 years ago

@machinedgod Can you open hte home page if you open it via :open file:///...? If not you might try to use the file path direct as :open /.... For me both works. If both does not work for you - this might be of the guessed mime type of the file. And it might not work in case you file name contains spaces.

machinedgod commented 2 years ago

It works both with open command with file URL and direct path - and now that I've tried setting it again, it works normally :exploding_head:

Really sorry, really have no idea what changed! I've done few system updates and set up an external downloader (Persepolis). I haven't touched the homepage path or the config line inside my config file. I have tried removing the download manager just for test, and it still works :thinking: :shrug:

I'll close this. Thanks for the help.