Oliver Blanthorn
f23118e166
Fix #60 : allow users to change default search engine
2017-11-29 16:40:16 +00:00
Oliver Blanthorn
da68d5f398
Add basic configuration with set
...
Currently does not import previous binds
2017-11-29 16:28:06 +00:00
Oliver Blanthorn
b990125792
Add hint -c [selector]
: add hints that match selector
...
It's particularly good on Hacker News and Reddit with
`bind ;c hint -c [class*="expand"],[class="togg"]` for minimising
comments and expanding images.
2017-11-29 13:23:30 +00:00
Oliver Blanthorn
6cd93b233d
Allow ;p to yank any element which contains text
2017-11-29 12:09:37 +00:00
Oliver Blanthorn
3c282ab1df
Merge branch 'master' of github.com:cmcaine/tridactyl into johnbeard-hintanchor
2017-11-29 11:47:50 +00:00
Oliver Blanthorn
e42a173762
Revert to Vimperator colours, reduce opacity
2017-11-29 11:33:33 +00:00
John Beard
dc7b5717db
Hint CSS: make easier to see stacked hints
...
This has two major aspects:
- Add a border so the extent of a hint is clear
- Make hint BG translucent, so stacked hints can be discerned
Also used more Tango-ish colours to soften the intense yellow.
2017-11-29 03:03:58 +00:00
John Beard
f0dfe1d5da
Refactor document CSS selector queries with dom.ts
...
The DOM.getElemsBySelector function makes it a bit less verbose to
construct an array of filtered elements matching a selector.
Also, this function is expanded to take multiple filters, applied
sequentially.
2017-11-29 02:27:49 +00:00
John Beard
a3ca5cd2c1
Add yank anchor hint submode (;#)
...
THis yanks the page URL with the hinted elements id or title as a hash
fragment, which can be used to link to the page at that element's
location.
For example: https://en.wikipedia.org/wiki/Vim_(text_editor)#History
;# nmap added, from Vimperator
2017-11-29 02:27:23 +00:00
Colin Caine
b4a5edd20c
excmd: remove tabs. Simplify tabonly
2017-11-29 00:37:21 +00:00
Alex Kir
23f845eb3f
Now looking for tabs to close only in current window
2017-11-29 00:37:21 +00:00
Alex Kir
a781c4bdd4
Added tabonly
command
...
Executing `tabonly` will close all tabs but active and pinned
2017-11-29 00:32:31 +00:00
Colin Caine
2be3646b21
release 1.6.1
2017-11-28 18:37:39 +00:00
Colin Caine
4a271805bb
build: BSD compatibility for git_version.sh
2017-11-28 17:36:40 +00:00
Colin Caine
3cae9a5334
Revert "excmd: fix :version"
...
This reverts commit baa5a9b861
.
2017-11-28 17:23:16 +00:00
Colin Caine
4a3a25751c
hinting: Fix #136 .
...
Hints still don't work for images, but I don't see any way we can detect that they're clickable, besides special casing instagram.
2017-11-28 17:19:50 +00:00
Colin Caine
e933c100d3
excmd: Replace tabchoose with tabprev_gt
...
The gT and gt maps in vim aren't symmetric, this better preserves
those semantics while removing a confusingly named excmd
2017-11-28 16:16:41 +00:00
Colin Caine
baa5a9b861
excmd: fix :version
2017-11-28 16:05:08 +00:00
Colin Caine
fc02d21da7
excmd: fix wrapping on tabnext/prev
2017-11-28 16:04:16 +00:00
Oliver Blanthorn
de84cd42f5
Fix #134 : [count]gt now goes to nth tab
...
Known issues: count is ignored on gT
2017-11-28 14:28:20 +00:00
Oliver Blanthorn
c255d1a2e9
Fix #151 : version is now Colin-proof and does not rely on tags
2017-11-28 14:17:51 +00:00
Oliver Blanthorn
758c91a5f4
Fix #150 : tab{next,prev} now wrap again
2017-11-28 13:53:22 +00:00
Colin Caine
4e9355e5ce
build: Helper for stable releases
2017-11-28 02:52:10 +00:00
Colin Caine
074393332f
release 1.6.0
...
New features:
- auto-completion for `:open`, `:tabopen`, etc.
- Tab selects autocompletion options
- New hint modes!
;i - open image
;I - open image in new tab
;; - focus
- Better commandline history completion (substring matching!)
- Better completion for `:buffer`, `:tabmove`, etc.
- Focus inputs
gi -- last input
focusinput -p -- first password input
focusinput -b -- largest input
- Better documentation!
- More search URLs
- Yank the short or canonical link (see :help clipboard)
Contributors to this release:
John Beard
- Image hinting
- Focus input
Olie Blanthorn
- Both types of history completion
- Merging a bunch of PRs
- Some documentation
Colin Caine
- Improved buffer completion
- Documentation
Olle Fredriksson
- Make searches including hashes work.
Jake Beazley
- CSS
@chocolateboy
- Improved pagination [[,]]
@glacambre
- More search URLs
Robbie McMichael
- Fix build for BSD sed (OSX)
- tabfirst, tablast
emanresusername
- Select more elements in hints
2017-11-28 02:45:28 +00:00
Colin Caine
c57a829aa8
excmd: document hint
2017-11-28 02:12:07 +00:00
Colin Caine
cd82433633
excmd: Document tabs and buffers
2017-11-28 00:20:54 +00:00
Colin Caine
7dda663a47
excmd: Simplify IPC for geturlsforlinks
...
This is more about maybe expanding the macro system in the future. Need
to look at how other projects do it.
2017-11-28 00:20:49 +00:00
Colin Caine
ca9e3b25f0
excmd: improve tab commands
2017-11-28 00:01:41 +00:00
Colin Caine
56da023ee6
build: Fix make_docs on some shells
2017-11-27 19:59:43 +00:00
Colin Caine
1c8e88693c
excmd: document new buffer
functions
2017-11-27 19:59:43 +00:00
Colin Caine
edd53f197b
completions: Support numbers for buffer
2017-11-27 19:59:43 +00:00
Colin Caine
9b68e94d94
excmd: arg to buffer is not optional
2017-11-27 19:59:43 +00:00
Robbie McMichael
53ee803bc9
Reduce code duplication in buffer function
2017-11-27 19:59:43 +00:00
Robbie McMichael
87aa3ee225
Add tabfirst and tablast commands
2017-11-27 19:59:43 +00:00
Oliver Blanthorn
8ef19cb1ae
Merge branch 'master' of github.com:cmcaine/tridactyl into glacambre-impl_yank_shortlink
2017-11-27 19:15:14 +00:00
Oliver Blanthorn
f9ee2a3e9a
Add documentation for yankshort,canon
2017-11-27 19:15:04 +00:00
Robbie McMichael
6f244162ab
Fix builds when using BSD sed
2017-11-27 18:54:39 +00:00
Oliver Blanthorn
eef773f44a
Add binding to yankcanon, yankshort
2017-11-27 18:51:33 +00:00
glacambre
dd1365f269
excmds.ts: Add yankshort and yankcanon.
2017-11-27 19:48:49 +01:00
Oliver Blanthorn
e4b17c4eaa
Merge pull request #139 from glacambre/add_search_engines
...
excmds.ts: Add search urls.
2017-11-26 15:52:40 +00:00
glacambre
cb58814da3
excmds.ts: Add search urls.
...
This commit adds a Github, Searx, Cnrtl, OpenStreetMap, the Mozilla Dev Network
and the Gentoo wiki to the list of SEARCH_URLS.
2017-11-26 16:36:07 +01:00
Oliver Blanthorn
2ce1f9a64a
Fix #99 : misleading help for bind
2017-11-26 14:56:09 +00:00
Oliver Blanthorn
11155e82ba
Add fish-style history search, fix clamp bug, improve variable names
2017-11-26 14:06:13 +00:00
Oliver Blanthorn
1775e100ef
Make focus listener only store editable inputs
2017-11-26 12:27:54 +00:00
Oliver Blanthorn
38ff3f7ca4
Merge branch 'master' of github.com:cmcaine/tridactyl into johnbeard-focusinput
2017-11-26 12:18:14 +00:00
Oliver Blanthorn
8f49130c63
Add listener to store last focused element
2017-11-26 12:18:06 +00:00
Oliver Blanthorn
d65acf9f64
Fix #117 : add :version command
...
:version currently fills the command line with the version number in
order to display it to the user (hacky) and copies it to the clipboard.
2017-11-26 00:06:02 +00:00
Oliver Blanthorn
9e2c21123f
Revert async history update and number of history items
...
The async history issue was too annoying, and the number of history
items being above 50 meant that it was too slow.
2017-11-25 23:26:16 +00:00
Oliver Blanthorn
347c1f5d7a
Prevent focus from leaving the command line
2017-11-25 23:15:45 +00:00
Oliver Blanthorn
c66ca2ab62
Merge branch 'master' of github.com:cmcaine/tridactyl into ollef-URIEncode
2017-11-25 16:14:05 +00:00