v0.43.0 omnibox keyword
add:
- omnibox keyword. You may get access to a node from the address bar (omnibox) by
'{space/tab}{keyword}{enter}
.
xxxx
is a keyword if you have a unique node with tag 'xxxx
, and you may type ' xxxx
in the address bar to go to the corresponding page.
You may list keyword tags by searching tag:'
.
alt + enter = open in new tab
ominibox keyword rules:
- currently it only works on native bookmarks.
- it is supposed to be a unique tag.
- a keyword tag should prefixed with
'
but'
is not a part of the keyword. - a keyword should have at lest 2 characters.
- a keyword is suppsed to be letters and should not has symbols as
& < > % ' : /
...
ominibox keyword with arguments:
' {keyword} {arg1} {arg2} {...}
If you have https://github.com/pfcao/abookmark
bookmarked with tag 'abm
,
then you may type ' abm /issues
to get https://github.com/pfcao/abookmark/issues
.
You may setup some abbreviations for arguments in option page.
If you set i
for /issues
, then you may type ' abm i /16
to get https://github.com/pfcao/abookmark/issues/16
.
argument rules:
- If there is only one
%s
in the url, it will be replaced by the arguments joined with space. - If there is more then one
%s
in the url, they will be replaced by the arguments one by one. - If there is not enough
%s
, the remaining arguments will be appended to the end of the url.