Commit graph

2339 commits

Author SHA1 Message Date
Oliver Blanthorn
2fead0aa78
Stop counting bare modifiers towards n in nmode 2020-05-09 11:55:30 +01:00
Oliver Blanthorn
c1e2264bc2
Fix mode2maps never being used 2020-05-09 11:28:10 +01:00
Oliver Blanthorn
1af0d12756
Remove unused config import 2020-05-09 11:12:44 +01:00
Oliver Blanthorn
7e4da9c3ef
Merge branch 'state_in_bg_only' 2020-05-09 10:58:26 +01:00
Oliver Blanthorn
f566a4ff8e
Ensure repeat is checked in an async fashion 2020-05-09 10:46:30 +01:00
Oliver Blanthorn
4ffabc75b6
Re-enable no-sync-access-in-content check 2020-05-09 10:46:02 +01:00
Torsten Schmits
d6555502be mention nmode default bindings in newtab 2020-05-08 21:30:56 +02:00
Torsten Schmits
2fd3f21e0f mention C-o and C-v in the tutorial 2020-05-08 21:28:26 +02:00
Torsten Schmits
194bca6fea remove superfluous word in nmode doc 2020-05-08 21:11:21 +02:00
Torsten Schmits
315371ed75 nmode: reuse the mode mapping from lib/binding 2020-05-08 21:08:59 +02:00
Torsten Schmits
271d6c4640 nmode: mention in doc that unbound keys are counted 2020-05-08 21:08:01 +02:00
Torsten Schmits
7a15db4f98 refactor keymap generation to lib/keyseq 2020-05-08 20:19:51 +02:00
Torsten Schmits
3f70e1886b tweak docs for nmode 2020-05-08 20:19:29 +02:00
Oliver Blanthorn
f45a2fe141
Move state storage to background 2020-05-08 17:19:23 +01:00
Torsten Schmits
835a54d5ff don't run undefined as excmd when leaving nmode 2020-05-08 18:10:53 +02:00
Oliver Blanthorn
24b6006f80
Add nmode mode
Useful for sending keys to the page in normal mode
and sending keys to Tridactyl in ignore mode
2020-05-08 15:05:51 +01:00
Oliver Blanthorn
e55f2225fe
Change sponsorship link on readme to glacambre 2020-05-06 14:33:54 +01:00
Oliver Blanthorn
5fa256a568
Merge branch 'shifthints' 2020-05-05 16:34:31 +01:00
Oliver Blanthorn
f933720020
Merge branch 'tabslideshow' 2020-05-05 16:15:08 +01:00
Oliver Blanthorn
426513327d
Add o bind to move cursor to other end of selection 2020-05-05 15:55:00 +01:00
Simon Lydell
bebe694ebe
Add visual selection flipper 2020-05-05 15:55:00 +01:00
Oliver Blanthorn
7594cfc73f
Fix #2338: stop subconfig unbinds being forgotten 2020-05-04 14:04:47 +01:00
Oliver Blanthorn
1c4722f4db
Fix #2352: update tri.contentLocation on navigation
I think 'forgetting that people navigate to web pages without changing tab' is
probably the funniest root-cause of a bug we've had in a while.
2020-05-04 13:25:28 +01:00
Oliver Blanthorn
d4d1526d3d
Fix #2124: :mkt now works
(Disclaimer: it works on Linux. On my machine.)
2020-04-28 10:46:47 +01:00
Oliver Blanthorn
7fe4b6d140
release 1.18.1 2020-04-26 16:20:35 +01:00
Oliver Blanthorn
976377a843
Try to fix mergeDeep null handling: #2324 2020-04-25 10:41:25 +01:00
Oliver Blanthorn
f0ec742a47
release 1.18.0 2020-04-23 13:01:46 +01:00
Oliver Blanthorn
9c8b4e4b59
Bump minimum version to FF75 2020-04-23 13:01:35 +01:00
Oliver Blanthorn
78217a29e9
Mention (probably) annoying visual changes on new tab 2020-04-23 13:01:10 +01:00
Oliver Blanthorn
ac33cbd88c
Fix #2236: unrevert changes to state synchronisation
Revert "Revert "Merge pull request #2137 from tridactyl/state_no_onchanged""

This reverts commit 4497ec3442.
2020-04-16 22:32:35 +01:00
glacambre
58a9964733 hinting: implement quickhint shifting 2020-04-12 04:13:38 +02:00
glacambre
f462802e2f
excmds.ts: implement tabqueue 2020-04-11 11:51:50 +02:00
Saul Reynolds-Haertle
a467a87e2c Fix type error when calling contextualIdentities.update
The error is:

```
controller in excmd: Error: Type error for parameter
details (Unexpected property "cookieStoreId") for
contextualIdentities.update.
```

This is because container.update invokes `fromString` on the user's
input, which produces an object with `cookieStoreId` set. If you look
at `fromString` you'll note that it has to some dirty type coercion to
make its return type work out.
2020-04-07 20:41:12 -07:00
Saul Reynolds-Haertle
5e6214e798 Refactor update in containers lib to improve error message 2020-04-07 20:40:44 -07:00
Jakub Okoński
442b36551a Fix saving a config that did not require schema migration 2020-03-31 17:11:26 +02:00
Oliver Blanthorn
8a5411432b
Merge pull request #2232 from mozbugbox/insert-mode-fixes
Insert mode fixes
2020-03-24 16:08:18 +00:00
mozbug
a64d60bd20 Remove mode check on keypress suffix update 2020-03-23 23:15:16 +08:00
Oliver Blanthorn
ead0d0b914
Merge pull request #2234 from saulrh/parser_keys_on_exstr
Return keys=[] from parser so things don't blow up if exstr is ""
2020-03-20 10:33:51 +00:00
Oliver Blanthorn
7802c9a83c
Fix unbindurl: set unbound key to null 2020-03-20 10:33:34 +00:00
Oliver Blanthorn
a12dd78fe8
Merge pull request #2230 from mozbugbox/buffer-completion-number-prefix
Buffer completion with number prefix. close #2010.
2020-03-20 10:14:19 +00:00
Ingo Karkat
692ba1e338 Apply vim_positioning_arg to all Vim variants
This basic (though a bit complex) Vim argument should be supported by
all variants.

Additionally, drop the superfluous %f argument in the tui_editors Vim
definitions; the gui candidates (mvim, gvim) didn't have this, and it's
not necessary; appending the filename (the default) works just fine.
2020-03-18 21:05:19 +01:00
Ingo Karkat
9aa96fb22b getBestEditor(): Extract os constant, define arg_quote and vim_positioning_arg
In order to apply the cursor positioning for the Vim editor as
documented for 'editorcmd', define a constant to avoid duplicating the
(rather complex) argument for all of the mvim / nvim / vim / gvim
variants. The argument needs to be quoted (at least on Unix, and there
single quotes have to be used to avoid history expansion (e.g. in Bash)
triggered by the "!" character), so another platform-specific constant
(arg_quote) is needed (as Windows only supports double quotes).
2020-03-18 21:05:19 +01:00
Ingo Karkat
b755391aed Improve the documented editorcmd for Vim
Problems with the original:
- Addressing the column with "l" assumes that "G" positions the cursor on the first column. But the default behavior already skips leading indent (so is wrong when there's leading whitespace), and with ":set nostartofline", the current column actually is kept (which completely and randomly messes up the column addressing).
- ":normal" without ! is affected by mappings; users may have tweaked the "G" and "l" (or in the worst case completely changed the behavior, e.g. for use with a different keyboard layout).

This change makes the mapping immune to mappings (with ":normal!") and uses the "|" command (which uses virtual column addressing independent of the current column or "G" behavior) instead of "c".
Additionally, "zv" makes the current line visible should it be obscured by folding. (Vim may detect a filetype and automatically enable folding.)
Instead of -c <cmd>, the shorter +<cmd> form is used. This is just a cosmetic change. Using just a single argument and avoiding any whitespace within it may prevent command-line argument parsing issues.
2020-03-17 20:18:54 +01:00
Saul Reynolds-Haertle
07ea9f3825 Return keys=[] from parser so things don't blow up if exstr is "" 2020-03-16 17:24:53 -07:00
Oliver Blanthorn
2f02f3e446
Merge pull request #2202 from tridactyl/blind_fix
config.ts: make sure mapobj[key] is defined
2020-03-16 07:14:21 +00:00
mozbug
eda70fd39c Remove leftover comment 2020-03-16 09:09:46 +08:00
mozbug
6f9ecbbc77 Reset keyEvents on mode change. Fix #1769 2020-03-15 23:33:20 +08:00
mozbug
5f5fe2e671 Avoid unnecessary suffix message.
In insert mode, each keypress will send a suffix message through Proxy
and the suffix == "". Which is useless and rather heavy. Avoid that.
2020-03-15 23:28:45 +08:00
glacambre
8278c66eed
config.ts: make sure mapobj[key] is defined 2020-03-15 14:33:53 +01:00
mozbug
84ae795f34 show insert mode indicator properly 2020-03-15 21:05:41 +08:00