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

New feature: show some settings on statusbar (js, cookies, html5-localstorage) #683

Closed Sadoon-AlBader closed 2 years ago

Sadoon-AlBader commented 2 years ago

I added a new feature that shows the status of JavaScript, cookies, and HTML5 LocalStorage on the right hand side of the statusbar, next to the scroll percentage. This can be toggled by the setting status-bar-show-settings

Before:

statusbar_before

After:

statusbar_after

I also fixed a small mistake I did before with the man file, "javascript-enable-markup" was not in alphabetical order so I fixed that.

fanglingsu commented 2 years ago

@Sadoon-AlBader Thank you for your work! I've changed the way how the statusbar flags are shown by using a single macro which holds the printf pattern as well as all seettings to be shown. I've added a default which doest something similar to the flags shown in title of the surf browser. But the users should now have the knobs to customize the output by there needs.

Sadoon-AlBader commented 2 years ago

@fanglingsu

Nice, that's actually more customizable and elegant than my solution. Well done!