Commit graph

3335 commits

Author SHA1 Message Date
Oliver Blanthorn
cc59b83bee
Switch to using dedicated reader page 2023-04-05 19:52:30 +02:00
Oliver Blanthorn
5bec833bb6
Add dedicated reader page 2023-04-05 19:19:05 +02:00
Oliver Blanthorn
569b01a607
WIP: make back button work
Command line is very broken. Generally thinking this might
be a bad idea because it feels like it would be fragile,
needing updating every time we add something to Tridactyl
2023-04-05 19:01:29 +02:00
Oliver Blanthorn
02e11b321e
Stop pollution of styles in reader 2023-04-05 18:46:23 +02:00
Oliver Blanthorn
a06d6849c0
Add title and author to reader mode 2023-04-04 16:15:20 +02:00
Oliver Blanthorn
04df34d9c7
Justify text in reader2 mode 2023-04-04 16:02:04 +02:00
Oliver Blanthorn
51640eb22a
Make reader2 use simple.css 2023-04-04 16:01:45 +02:00
Oliver Blanthorn
2153c6c49c
Add simple.css for reader 2023-04-04 15:47:16 +02:00
Oliver Blanthorn
30ebc6e2be
Add some rambling on CSS 2023-04-04 14:40:53 +02:00
Oliver Blanthorn
c0635bf3ab
WIP: silly first go at own reader mode 2023-04-04 14:40:49 +02:00
Tushar
e1b0b7da75 Allow comments in multiline RC file commands. Fixes issue #4555
Signed-off-by: Tushar <tusharbarman123@gmail.com>
2023-04-02 11:22:40 +05:30
Oliver Blanthorn
2b6a27c678
Merge pull request #4643 from tridactyl/lastinput_shadowdom
Fix lastinput for shadowdoms
2023-03-25 00:05:30 +00:00
Oliver Blanthorn
790cee1f95
Fix lastinput for shadowdoms 2023-03-24 19:06:32 +01:00
Oliver Blanthorn
d21b430a3c
Merge pull request #4641 from tridactyl/toggle_sidebar
Add (secret) sidebar toggle command for browser binds
2023-03-24 15:31:40 +00:00
Oliver Blanthorn
03f344a2e8
Add :sidebaropen and docs for jsua/sidebartoggle 2023-03-22 15:14:30 +01:00
Oliver Blanthorn
09172391a5
Add jsua for --mode=browser binds
Works like jsb but preserves the 'user action' so
it can be used to open/close the sidebar, open
downloaded files etc.

Example usage:

`:bind --mode=browser <C-.> jsua browser.sidebarAction.close()`
2023-03-22 14:43:17 +01:00
Oliver Blanthorn
c77bf89d0c
Add sidebartoggle for --mode=browser binds #4640 2023-03-22 14:37:09 +01:00
frikdt
e6075a37b0 Updated WindowCompletionOption in commandline.css stylesheet
The Window Id column in the completion list for commands such as 'winmerge'
and 'tabpush' has a maximum width of 4 characters, which is not wide enough
(5-digit id's are often encountered).

Made the following updates:
    - Increased the 'id'  column from 4ch to 6ch
    - Increased the left-right padding to increase spacing between the Window
      Id and the Window Title columns for improved readability

On branch fix-window_completion_option-in-commandline_css
Changes to be committed:
    modified:   src/static/css/commandline.css
2023-03-21 23:28:43 +02:00
Tushar
a72cbe2e1d urlincrement/decrement should operate on decodedURI Fix #3792
Signed-off-by: Tushar <tusharbarman123@gmail.com>
2023-03-06 17:01:33 +05:30
Denis Revunov
8ab665e565 Fix completions for tabmove (#4602)
Force default tabsort for tabmove.
Also return trimmed prefix from splitOnPrefix for consistency.
2023-03-02 00:19:36 +03:00
treapster
9c8006107e
Fix #4603: tabgrab with one tab 2023-02-28 18:04:16 +01:00
josh
586fab9fd5 fix broken link 2023-02-28 11:46:36 +02:00
glacambre
b402662a66 completions: add autocmd completions
This should hopefully make deleting autocommands easier.
2023-02-25 09:39:32 +01:00
Oliver Blanthorn
821c38db9c
Improve tabsort docs 2023-02-18 14:14:04 +01:00
Oliver Blanthorn
f2d3e1b66b
Merge pull request #4595 from treapster/mru-tabs
Respect MRU order in tab completions and :tab command
2023-02-18 13:10:38 +00:00
nfd (aka alex)
95de1c05ab
Describe J and K's differences from Vimperator 2023-02-16 15:02:21 -08:00
Denis Revunov
d2f5c87693 Always return int from comparator
Even though it works fine, since comparator should always formally return int,
comply with this requirement to reduce chances of bugs in case sort implementation
changes
2023-02-16 23:16:12 +03:00
Denis Revunov
e4cef503fc Respect MRU order in tab completions and :tab command 2023-02-15 22:06:02 +03:00
Oliver Blanthorn
40e1e53e28
Fix #4591: update Google Lens API 2023-02-14 16:22:24 +01:00
R. David Dunphy
9df40e6ee6 Prevent Firefox from adding a white background
Fixes #4294 and #4364

As of FF102, Firefox adds a white background to the iframe - presumably
this applies to all themes, but midnight is the only one where this is
apparent due to the transparent space between the commandline and the
completions.

(Also, pretty made a bunch of changes)
2023-01-31 17:58:23 +00:00
R. David Dunphy
bcdff0f284 Add option indicators to section header 2023-01-26 16:40:48 +00:00
R. David Dunphy
6855dc2297 Make search completion work with command options 2023-01-26 16:06:52 +00:00
R. David Dunphy
45390d4df7 Refactor completion option
SearchUrlCompletionOption was mostly jsut unnecessary code duplication
2023-01-26 15:53:57 +00:00
R. David Dunphy
8cb9c53516 Add searchurlweight option 2023-01-25 16:43:24 +00:00
R. David Dunphy
9bc753861f Match search urls properly
Even if the searchurl is expanded using `%s`
2023-01-23 08:44:03 +00:00
R. David Dunphy
638a6dbd10 Add searchurls to History completion options 2023-01-22 16:43:13 +00:00
Oliver Blanthorn
74bb9ac2ed
Merge pull request #4532 from treapster/add-layouts
Add multiple keyboard layouts
2023-01-21 22:36:44 +01:00
Oliver Blanthorn
640dfb34bf
Merge pull request #4539 from rddunphy/feature/tab-groups
Tab group fixes
2023-01-21 22:32:53 +01:00
R. David Dunphy
5e9c945f13 Restrict tab group column width 2023-01-21 21:06:38 +00:00
Denis Revunov
890c52bf9c More naming/comments changes 2023-01-21 23:32:13 +03:00
Oliver Blanthorn
f8b557ad01
Push tab group to the end of completions
Removes some ugliness when tabs with and without tab groups are mixed
2023-01-21 21:16:49 +01:00
Oliver Blanthorn
5a46643cb9
Fix too small max width 2023-01-21 16:41:12 +01:00
Oliver Blanthorn
c47e92816d
Update docs to reflect caching 2023-01-21 16:24:50 +01:00
Oliver Blanthorn
64ae83a986
Change keylayout names 2023-01-21 16:23:43 +01:00
treapster
e40a415e70
Fix runtime type checking for keyboard layout 2023-01-21 16:19:28 +01:00
R. David Dunphy
bf9b5db067 Fix array index out of bounds error 2023-01-21 14:31:23 +00:00
Oliver Blanthorn
77cd61147c
Cache merged layout 2023-01-20 22:02:52 +01:00
R. David Dunphy
5f33c6135b Shrink tgroup column to fit content 2023-01-20 17:33:01 +00:00
R. David Dunphy
95a9228e05 Show prefix data and tab group names in :taball
Prefix contains all the same information as for `:tab` (audible, muted,
discarded and pinned tabs), as well as '%' for current tab and '#' for
alternate tab (in current window).

New column between title and content that shows the tabgroup name for
each tab, if available.
2023-01-20 16:55:10 +00:00
R. David Dunphy
3ce29b7125 Show '#' only if last active tab was in this group
Alternate tab (for `:tab #`) is always the last active tab, even
if it's hidden, not the last active visible tab. This means the
alternate tab is not listed if it's in a different group and
`tabshowhidden==true`.

(It's still possible to switch to a tab that is not displayed in
completions.)
2023-01-20 16:46:39 +00:00