zealdocs / zeal

Offline documentation browser inspired by Dash
https://zealdocs.org
GNU General Public License v3.0
11.51k stars 782 forks source link

Add an option to open external requests in new tabs #845

Open trollixx opened 6 years ago

trollixx commented 6 years ago

Originally suggested in #336.

This can be a CLI switch, as well as a settings option.

MrMino commented 4 years ago

This would be incredibly helpful for creating a dmenu / rofi shortcut for zeal. Right now, in i3 window manager, when I push alt+shift+d, a dmenu-style popup is shown. I type a search and push enter - it opens Zeal with the search result shown.

It would be great to have an option to open that result in a new tab.

Also, if this would come to fruition, a nice thing to have would be an option to prevent Zeal from duplicating tabs.


For the interested, here's the i3 option that I'm using for Zeal dmenu:

bindsym $mod+shift+d exec "query=$(rofi -dmenu -theme Pop-Dark -lines 0 -p Docs) && zeal $query"