Commit graph

1149 commits

Author SHA1 Message Date
Anton Vilhelm Ásgeirsson
093300d053 Add DocLoad object to config.ts.
This fixes that annoying TypeError in the browser console.
2018-07-26 16:23:26 +00:00
Oliver Blanthorn
041d8f6388
Hide some internal functions from help 2018-07-26 10:45:11 +01:00
Oliver Blanthorn
e0f9fa4e45
Add abnormal binds to help page
That was about 1000x easier than I was expecting. Thanks @glacambre!
2018-07-26 10:38:54 +01:00
Oliver Blanthorn
756c29673a
Fix #850: Dodgy yy
I don't quite understand how it worked at all without focusing the commandline first.

Peppered code with some more awaits as part of debugging and couldn't be bothered to test which were necessary.
2018-07-26 10:17:46 +01:00
Oliver Blanthorn
c3d0ef60c8
Add C-f,b to scroll up/down
Apparently C-b being forcibly bound to bookmarks doesn't happen any more.
2018-07-25 17:26:00 +01:00
Oliver Blanthorn
5e7b1dbc51
Add link to tutor to help 2018-07-25 17:18:39 +01:00
Oliver Blanthorn
47f90395eb
Rerename Windows native install script 2018-07-25 14:39:59 +01:00
Oliver Blanthorn
198c2b155d
Wow 2018-07-25 12:57:15 +01:00
Oliver Blanthorn
9eb8a12792
Remove more code I can't see the point of 2018-07-25 12:25:56 +01:00
Oliver Blanthorn
d26402929d
Remove obsolete code >:D 2018-07-25 12:08:04 +01:00
Oliver Blanthorn
99f6dc4e8e
Hack keyseq into working with ignore 2018-07-25 11:44:34 +01:00
Oliver Blanthorn
c799c9a39d
Start thinking about generic parser 2018-07-24 18:52:32 +01:00
Oliver Blanthorn
5afdaa0564
Merge pull request #851 from glacambre/fix_bufferall_selecting_wrong_window
Fix bufferall selecting the wrong window.
2018-07-24 08:57:56 +01:00
glacambre
96d0b20cc5
Fix bufferall selecting the wrong window.
The problem was that when calling sort on an array of numbers without
specifying the sort function that should be used, the array will be
sorted according to the lexicographic order of the elements.

This is fixed by specifying what function should be used to sort the
array.

This fixes https://github.com/cmcaine/tridactyl/issues/819.
2018-07-24 08:03:02 +02:00
Oliver Blanthorn
93e895e446
Make source ignore visually empty lines 2018-07-23 12:00:15 +01:00
Oliver Blanthorn
7c9e2b3759
Make rapid hinting less rapid if there's only one link 2018-07-23 11:34:42 +01:00
glacambre
5b30812361
completions: Make selected completion option undefined on change
Before this patch, selected completion options weren't properly
deselected when available options changed. This commit fixes this.

This does not break completion option autoselect because the reset
happens before autoselection.

This fixes https://github.com/cmcaine/tridactyl/issues/833.
2018-07-23 08:27:27 +02:00
Oliver Blanthorn
58dafc685a
Merge pull request #846 from glacambre/make_guiset_error_message_easier_to_understand
excmds.ts: Actually make guiset error message easier to understand
2018-07-22 17:59:06 +01:00
glacambre
9d45675720
excmds.ts: Actually make guiset error message easier to understand
The previous version correctly displayed an error on `:guiset_quiet` but
hid error messages for `guiset`.
2018-07-22 18:35:14 +02:00
Oliver Blanthorn
8c5c07af4b
Merge pull request #845 from glacambre/make_guiset_error_message_easier_to_understand
excmds.ts: Make guiset error message easier to understand
2018-07-22 17:26:36 +01:00
glacambre
c2e736170b
excmds.ts: Make guiset error message easier to understand 2018-07-22 17:57:36 +02:00
glacambre
7025c9e2fc
History.ts: Add missing space when inserting completion options
e5d2be7 introduced a bug while trying to fix
https://github.com/cmcaine/tridactyl/issues/838: when the command line
contains `tabopen -flag ` and the user tries to insert the selected
completion option in the command line by pressing <Space>, the resulting
command line will be `tabopen -flagurl` instead of `tabopen -flag url`.

This is fixed by appending a trailing space to the `options` variable if
it isn't an empty string.
2018-07-21 21:30:46 +02:00
Oliver Blanthorn
def998a5a5
Fix help again 2018-07-21 18:29:19 +01:00
Oliver Blanthorn
e5d2be73eb
Fix #838: remove errant space 2018-07-21 17:52:58 +01:00
Oliver Blanthorn
e06516fec0
If a major feature is only broken for a few minutes
does it really count as broken?
2018-07-21 17:03:44 +01:00
Oliver Blanthorn
2e6e2b0167
Merge branch 'sane-hints' of github.com:cmcaine/tridactyl
Also add a bind for rapid hint mode: `gF`.
2018-07-21 16:53:42 +01:00
Oliver Blanthorn
e99b30f297
Copy and paste hint code over to excmds 2018-07-21 16:44:11 +01:00
Oliver Blanthorn
edae721c2e
Remove dead code 2018-07-21 13:18:50 +01:00
Oliver Blanthorn
7ec89f9d32
Move most of hinting to content 2018-07-21 13:12:48 +01:00
Oliver Blanthorn
4a5a25cf47
Move most of hinting to content 2018-07-21 13:02:50 +01:00
Oliver Blanthorn
a2e95035dd
Reduce the size of hinting*.ts
by adding some more lines of code
2018-07-20 17:39:00 +01:00
Colin Caine
247fc05d1c Simplify open() 2018-07-20 13:40:24 +01:00
Chris Pickard
e476817663 Ctrl-Y should scroll up 2018-07-19 15:04:19 -04:00
Colin Caine
6ed83eacdb Add DocLoad aucmd 2018-07-18 14:36:35 +01:00
Oliver Blanthorn
2cce4f3571
Merge branch 'master' of github.com:cmcaine/tridactyl into native-stdin 2018-07-18 13:12:59 +01:00
Oliver Blanthorn
1d69d86c4d
Fall back to heredoc if native messenger out of date 2018-07-18 13:12:55 +01:00
Jeff King
60a1bfb6fc native_background: replace clipboard here-doc with stdin parameter
This is simpler, as we do not have to worry about:

  - randomly generating a unique here-doc tag to avoid
    colliding with the yanked content

  - newline munging as in 4a5dcd7557

  - whether "sed -z" is portable (it's not in POSIX, though
    I'd expect most modern implementations to have it)
2018-07-18 01:36:40 -04:00
Jeff King
1b2c406e7c native_background: add client side of stdin-passing
This is the client side that matches the stdin handling
added in the previous commit. Note that we _don't_ check a
nativegate here. It's the responsibility of a caller sending
a non-empty content parameter to do so.
2018-07-18 01:30:23 -04:00
glacambre
2ced3ae54d
Fix Tridacyl not working on about:blank newtab page.
Apparently, Firefox can't give you key events for the window if <body>
is `display: none`. This is fixed by turning the page transparent
instead of not displaying it. Since the scrollbar is still visible when
the page is transparent, we also set the page's height to 0px.

All of these modifications are reversed when the page needs to be
displayed.
2018-07-18 06:20:33 +02:00
Oliver Blanthorn
950863b721
Fix #678: hack about:blank back 2018-07-17 19:05:31 +01:00
Oliver Blanthorn
9199938dc8
Fix #827: typo 2018-07-17 18:00:46 +01:00
Oliver Blanthorn
6e200cd516
Improve tabmove help 2018-07-17 16:18:48 +01:00
Oliver Blanthorn
0d0cbb3b4c
Add vimium style tabmove binds 2018-07-17 16:17:25 +01:00
Susexe
56c1f1a159
Add <A-p> keybind to toggle tab pinning 2018-07-16 15:25:30 +02:00
Anton Vilhelm Ásgeirsson
95e411ab7b Add <A-m> keybind to toggle mute on tabs. 2018-07-16 09:50:18 +00:00
Anton Vilhelm Ásgeirsson
171bed6eac Rename '-u' to 'unmute', reflect that in documentation and config.ts 2018-07-16 09:28:50 +00:00
Anton Vilhelm Ásgeirsson
4e8d3f707b Add mute excmd.
Mute takes a couple of arguments that are a bit loosely defined. `-u`
unmutes, as seen by the `unmute` exalias. `toggle` toggles between the
states. `all` applies `mute/unmute/toggle` on all the tabs in the current window.
2018-07-15 23:46:13 +00:00
Oliver Blanthorn
7e8c159a97
Merge pull request #767 from WorldCodeCentral/master
Add condition for the -b open in background argument for completions
2018-07-14 21:15:59 +01:00
WorldCodeCentral
5d7e8aba78
Update History.ts
Correct mistake that tabopen -b took two arguments when it should take only one
2018-07-14 20:38:48 +02:00
glacambre
77595f7e4d
excmds.ts: Implement guiset_quiet.
This fixes https://github.com/cmcaine/tridactyl/issues/802.
2018-07-14 15:18:09 +02:00