Comments (9)
Could you elaborate on this feature request in a bit more detail? There already is a setting for changing the search engine simply named "search". If you want to switch between two or presumably more, I would recommend to add a custom command or map a new keybinding.
from vieb.
It let's you to type say github
on the addressbar, and then pressing tab
.
You then enter what ever you want to search in github. Pressing enter
, it will directs to the search page with github searching result of your query. Of course you need some kind of configuration to map github
to the search query url of github.
The pro of this is that you don't need to load the github home page and type your query there, saving one page loading time. Also, you don't lost your current context when you type the query.
Pressing tab
isn't really necessary to be implemented. In qutebrowser, it just requires you type github
followed by a space and a query.
from vieb.
I also don't see the added value of these domain searches over duckduckgo bangs (such as appending !github
) or worst case appending the search with site:github.com
. Although if more people think that such a search prefix would improve Vieb, feel free to make a PR to implement this, as I probably won't pick this up myself any time soon.
When adding this, please do not make it automatically activate, because it can prevent people from searching for certain things. For example, it would not be an option to search for github guides
on duck, without being redirected to search for github repositories named "guides".
from vieb.
There are a few big benefits over DDG bangs: you can set your search engine to something other than DDG but still have these searches work; you can customize them; and your search isn't going through a middleman when that's not necessary.
I personally greatly prefer Startpage to DDG (and was going to try and figure out how to change the default search engine to reflect this (edit: easily, with :set search=<url>
and %s).
DDG also doesn't use the same bang keywords as you might want to use, and might be missing sites.
from vieb.
You can change Vieb's search engine with the search
option, see :h search
for details.
I agree that there are benefits to implementing this compared to using DDG, most of which you mention in your comment. It's just that I won't use this feature myself, and as such probably won't spend time on implementing this in the near future (hence the "help wanted" label on this issue).
from vieb.
@Jelmerro Github doesn't seem to have a private chat option. I'm taking a crack at implementing this but I'm wondering if you can tell me the proper way to log trace statements in Vieb? To a log or STDOUT/STDERR. console.log()
doesn't seem to do it when I run with npm
from vieb.
console.log
works, but depending on where you log, you need to check different places. For example, the app/index.js
file is running the main thread, which will log to the terminal. Most other files are part of the renderer, which will log to Vieb's internal developer tool console, which can be opened with the :intervaldevtools
command, or with the --debug
startup option. With the developer tools you can also add breakpoints and that kind of stuff that you might know from debugging websites with the devtools.
from vieb.
Excellent! Thanks. Having the console and debugging makes it so much easier.
from vieb.
This has been implemented by @InconsolableCellist in #110 👍
from vieb.
Related Issues (20)
- imap jk <toNormalMode> not sending j with a delay HOT 1
- Horizontal navigation problem HOT 7
- Vieb starts XWayland server even though wayland support is enabled HOT 2
- Feature suggestion: save and restore input field content when closing Vieb or navigating history HOT 1
- Main process gets stuck when entering Follow mode on login.mailbox.org HOT 1
- Action for selecting a scrollable element in pointer mode HOT 7
- Support Linux OS fullscreen for `guifullscreen` settings HOT 2
- [Enhancement] Rebase using Ungoogled-Chromium and Thorium's performance patches HOT 1
- Youtube player performance degradation HOT 24
- Enough State Export+Import to Build Live Sync HOT 8
- Android Port HOT 2
- Proposal for design of CLI HOT 4
- Issue trying to load Mozilla Hubs HOT 1
- [Windows-only] Vieb does not fully quit on Windows because deleting files freezes the entire app HOT 14
- Nextjs onClick won't work HOT 2
- [toc] when showing the toc for the first time, show it expanded instead of collapsed HOT 7
- [markdown] Add the possibility to load local resources HOT 11
- :set mouse= does not change it's value HOT 3
- Support for NT 6.1 HOT 3
- Add the ability to group tabs by tagging them HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vieb.