Hi Jakko!

Jaakko Luttinen <jaakko.lutti...@iki.fi> wrote
> 1. Can I save to the config file from vimb or do I need to edit the file
> with a text editor? I wrote ":set home-page=www.foobar.com" but this
> setting didn't persist and I got no config file. I would have wanted to
> add permanent configs from vimb without needing to open a text editor.
No, you have to use an editor for writing the config file. Settings you
alter during runtime do only affect the current running vimb instance and
are not persisted.

> 2. If I then manually modify the config file, can I somehow reload vimb
> instance so that it reads the configs from the file or do I need to
> close it (and all other windows) and re-open them? Or how can I re-read
> configuration from the config file?
You can read in the config file or any other configuration file via
`:source` command, e.g. `:source ~/.config/vimb/config`. But this will not
discard any previous made changes. If you use something like
`set scroll-step+=10` in your config the 10 is added for each time you
reload the file. But when you use direct values, this should work.

> 3. How can I switch to a different profile? Either the running instance
> (if possible) or when opening a new tab (:tabopen). I know the profile
> can be given as a command line argument, but I'd like to manage the
> profile selection from vimb itself.
That's not possible! It's not only a profile is more like a names sandbox
where you run vimb in.
Do not expect to much comfort from a light browser! Vimb provides some
features that are used by many people and some features that help users
to implement their own solutions by scripting around vimb.

> 4. How can I achieve similar "private browsing" experience as typically
> provided by browsers? I tried ":set private-browsing=true" but vimb
> still writes my browsing/command history etc to the corresponding
> history file. Perhaps opening with a different profile and then wiping
> the profile afterwards? Can I wipe the profile (or at least history,
> cookies.db, closed, command and search files, maybe others too) somehow
> from vimb? Or how do you achieve "incognito mode" which leaves no traces?
There is no real ephemeral mode in vimb. I've thought about this some month
before, but never found the time to work on it. (If there is someone who want
to work on this feel free to prove a pullrequest or a patch - I'm pretty
interested in this too).
Not sure if this does not leave traves but I think you can do following:
1. Use a separate profile with its own config.
2. Set `set private-browsing=true` in the config file so that webkit does
   not persist cookies and hopefully treats the caches special. I'm not
   sure what webkit does or doe snot if this is set.
3. `set history-max-items=0` and `set closed-max-items=0` to not write to
   any history file. But this also disables url completion or stepping
   through command history.
Another approach would be to run with a separate profile and clean it after
use. But you have to make sure to not forget to clean it:) You can clean a
profile by removing the whole directory or all the files. Normally it would
be reasonable to remove all files except of the config file. The file are
created on startup of vimb.

daniel


_______________________________________________
vimb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vimb-users

Reply via email to