tab icon indicating copy to clipboard operation
tab copied to clipboard

Option to change command delimiter

Open arjvik opened this issue 4 years ago • 4 comments

Hi,

I've been using tab as my startpage for a while, and I have really loved it! It works especially great when using a keyboard-based browser such as Qutebrowser!

I have very few nitpicks with tab. Firstly, I think that the ; seperator is ugly and unnatural to type. In order to be able to use a space seperator, I forked tab into https://github.com/arjvik/tab. Unfortunately, my solution is super ugly - I simply replaced the few instances of ; that I saw with an empty space. I think I may have missed a few corner cases too as well.

Would you be able to create a setting to replace the ; seperator, and implement it cleanly in a way that doesn't miss any edge cases?

Thanks for the great startpage btw!

arjvik avatar Nov 21 '19 04:11 arjvik

This is a setting I've thought about for a while, I'll look into implementing it!

KorySchneider avatar Nov 22 '19 14:11 KorySchneider

I implemented this feature on my fork with some optimizations, bug fixes and more search engines.

With the commandSeparator still being at default ';' You have use set; sep; <space> to set the command separator to space.

You can then run commands like you normally would but with a space set defaultCommand ddg or r unixporn

https://folws.github.io/tab/

fl-w avatar Jun 05 '20 22:06 fl-w

So has this been implemented?

Alphinux avatar Jul 31 '22 19:07 Alphinux