Oliver Blanthorn
3b38f093b7
Merge pull request #2194 from mozbugbox/bind-completion
...
Binding completion
2020-02-28 21:10:04 +00:00
mozbug
a96b6d902f
Do deselect() on binding completion
2020-02-29 02:48:49 +08:00
mozbug
a6f9072874
Use generic variables in binding.ts
2020-02-28 22:01:52 +08:00
mozbug
30f89a6187
Move binding related function into lib/binding.ts
2020-02-28 21:18:35 +08:00
mozbug
5e73ca9a78
Update keybinding to exmaps
2020-02-28 20:45:29 +08:00
mozbug
b7afb3b9a1
Add some bindings for ex mode
2020-02-28 00:05:10 +08:00
mozbug
7c25e32d98
Editor "before" of getWordBoundaries should start from char before the caret
2020-02-27 23:50:42 +08:00
mozbug
c2e162613f
forward_word in editor should move to the end of line
2020-02-27 23:47:04 +08:00
mozbug
a1717e740f
Excmds completion allow partial match at the middle
2020-02-27 22:37:43 +08:00
mozbug
32500c86ae
Completion popup scrolls only on necessary
2020-02-27 22:27:15 +08:00
Oliver Blanthorn
c6e1ed8c5c
Add completions to composite
2020-02-27 13:53:06 +00:00
mozbug
37b8b99999
Add completions for key bindings
2020-02-27 21:31:41 +08:00
Oliver Blanthorn
e1f99759e5
Fix #2184 : add urlmodify_js
2020-02-27 12:46:30 +00:00
Oliver Blanthorn
290cf5d0a7
Merge branch 'dependabot/npm_and_yarn/uuid-7.0.1'
2020-02-27 12:29:45 +00:00
Oliver Blanthorn
ae257ae3f1
Update UUID for v7
2020-02-27 12:29:26 +00:00
Oliver Blanthorn
cd990a9256
Merge branch 'the_asynquening'
2020-02-27 12:11:57 +00:00
Oliver Blanthorn
0a15d202f2
Merge branch 'js-source-file'
2020-02-27 12:08:12 +00:00
Oliver Blanthorn
df3ed4f903
Make js help follow Tridactyl style guide
...
i.e. line formatting is done on the reader's machine, not the writer's
2020-02-27 12:07:37 +00:00
Oliver Blanthorn
4477f3e37d
Fix a few typos and improve help a little
2020-02-27 12:05:26 +00:00
Oliver Blanthorn
fa9d3228c9
Add filesystem completion to js{,b} -s
2020-02-27 11:55:17 +00:00
mozbug
d6086f73f2
Silence tsdoc
2020-02-26 21:29:38 +08:00
mozbug
2a302aba62
Add doc for new options to js
2020-02-26 21:28:59 +08:00
mozbug
53e368edcd
excmds.js remove check for '../' in path
2020-02-26 19:20:38 +08:00
mozbug
fc03d64113
excmds.js add option -r to load from config dir
2020-02-26 19:17:42 +08:00
glacambre
e2464e552a
excmds.ts: make a lot of functions return promises
...
It's important to have async functions return promises as this ensures
that composite commands run in a deterministic and unsurprising order.
Also, making `:sanitize` synchronous might fix all issues we have with
Tridactyl not sourcing tridactylrcs entirely.
2020-02-25 19:56:03 +01:00
Oliver Blanthorn
45b2bd2895
Cheer up tslint
2020-02-25 17:15:31 +00:00
mozbug
9933755466
Silence lint
2020-02-25 20:17:48 +08:00
mozbug
8850b00a20
Allow js/jsb to load local javascript file.
...
Add a flag `-s` to source js files from user's config directory:
:js -s test.js
With the ability to load js files, `tridactylrc` can have its javascript
code into seperate files.
Since the js code was run by calling `eval()` in local score of calling
function, the variables and functions decleared in the js file will lost
after eval().
To make the content of javascript file reusable, user could export
functions into some globals like `window.` or `tri.`.
2020-02-25 19:52:18 +08:00
josh
45cac09392
Feature: new vmap '=' to expand selection to encompass parent nodes contents
2020-02-24 17:35:35 -06:00
Oliver Blanthorn
27572a5914
Revert "Merge branch 'config_no_onchanged'"
...
This reverts commit fe39c3e43a
, reversing
changes made to 9ceb56595c
.
2020-02-20 10:23:56 +00:00
Oliver Blanthorn
fe39c3e43a
Merge branch 'config_no_onchanged'
2020-02-19 17:04:28 +00:00
Oliver Blanthorn
051c1085f2
Hic erant errata
2020-02-19 11:55:22 +00:00
Oliver Blanthorn
c6a3a01d40
Merge pull request #2175 from mozbugbox/fix-hinting-position
...
Fix hinting tag position for multiline links
2020-02-19 11:46:19 +00:00
mozbug
1b32f65056
Give rect a default value
2020-02-19 18:30:28 +08:00
mozbug
cdc86640bc
Fix hinting tag position for multiline links
...
Sometime a link spans multilines. The bounding rect of the link is
larger than the first line. In that case, using boundinig rect could
misplace the hinting tag.
Use the first visible clientRect to position the hinting tag.
2020-02-19 17:48:34 +08:00
Oliver Blanthorn
dc6c1b4c40
Remove delay between RC lines
...
Hopefully it isn't needed any more.
2020-02-18 21:12:08 +00:00
Oliver Blanthorn
f5439931d6
Restore config changelisteners
2020-02-18 21:04:35 +00:00
Oliver Blanthorn
4f498f986a
Doc fix
2020-02-18 19:06:18 +00:00
Oliver Blanthorn
6031001dcb
Unbreak Tridactyl by importing locks earlier
...
This is the most mad bug I've had in a while. O_o
2020-02-18 19:06:10 +00:00
Oliver Blanthorn
9b933a8c7a
Fix linter error
2020-02-18 18:54:35 +00:00
Oliver Blanthorn
998c106036
Remove onchanged listener from config
2020-02-18 18:27:59 +00:00
Oliver Blanthorn
d291277748
Merge pull request #2137 from tridactyl/state_no_onchanged
...
Remove onchanged listener from state
2020-02-18 18:19:28 +00:00
Oliver Blanthorn
bca999e852
Ignore errors about pages not listening
2020-02-18 17:52:28 +00:00
Oliver Blanthorn
22fa2c0354
Ignore some messageAllTab errors
2020-02-18 17:19:53 +00:00
Oliver Blanthorn
4f2bc3db03
Break most of Tridactyl by adding locks to config
2020-02-18 16:38:10 +00:00
Oliver Blanthorn
14a9630f94
Merge pull request #2169 from mozbugbox/sort-completion-filter
...
Sort completion result based on Fuse.js score
2020-02-18 15:11:31 +00:00
Oliver Blanthorn
d9484112e4
Fix linter errors
2020-02-18 14:51:24 +00:00
mozbug
1684cd83da
Fix jump to nth tab directly with tab command
2020-02-18 22:39:15 +08:00
Oliver Blanthorn
7a092a513b
Minor perf optimisation
2020-02-18 13:00:02 +00:00
Oliver Blanthorn
525841d599
Doc fix
2020-02-18 12:46:28 +00:00