Update tab page and other documentation to reflect new ignore mode binding

This commit is contained in:
Erik Johnson 2018-05-04 09:22:57 -05:00
parent 24d4563241
commit 316e16c846
No known key found for this signature in database
GPG key ID: 5E5583C437808F3F
3 changed files with 12 additions and 11 deletions

View file

@ -19,7 +19,7 @@ If you're enjoying Tridactyl, or not, please leave a review on the [AMO](https:/
Like Vim, Tridactyl is modal, with the default mode being "normal mode". In
"normal mode", many functions are available using keybindings. In "command
mode" (when the command line is shown), you can execute more complex commands,
known as "ex-commands". All Tridactyl functionality can be accessed by
known as "ex-commands". All Tridactyl functionality can be accessed by
ex-commands. You can bind any ex-command to a normal-mode shortcut.
### Default normal-mode bindings
@ -28,7 +28,8 @@ This is a (non-exhaustive) list of the most command normal-mode bindings. Type
`:help` to open the online help for more details.
- `:` — activate the command line
- `I` — enter ignore mode. `Shift-Escape` to return to normal mode
- `Shift` + `Insert` — enter "ignore mode". Press `Shift` + `Insert` again to
return to "normal mode".
- `ZZ` — close all tabs and windows, but only "save" them if your
about:preferences are set to "show your tabs and windows from last time"
- `.` — repeat the last command
@ -86,7 +87,7 @@ be improved eventually.
- `u` — undo the last tab/window closure
- `gt`/`gT` — go to the next/previous tab
- `g^`/`g$` — go to the first/last tab
- `b` — bring up a list of open tabs in the current window; you can type the
- `b` — bring up a list of open tabs in the current window; you can type the
tab ID or part of the title or URL to choose a tab
#### Extended hint mode
@ -136,7 +137,7 @@ NOTE: key modifiers (eg: control, alt) are not supported yet. See the FAQ below.
- Can I import/export settings, and does Tridactyl use an external configuration file just like Vimperator?
Sort of: if you do `set storageloc local`, a JSON file will appear at `<your firefox profile>\browser-extension-data\tridactyl.vim@cmcaine.co.uk\storage.js`. You can find you profile folder by going to `about:support`.
Sort of: if you do `set storageloc local`, a JSON file will appear at `<your firefox profile>\browser-extension-data\tridactyl.vim@cmcaine.co.uk\storage.js`. You can find you profile folder by going to `about:support`.
You can edit this file to your heart's content. A more traditional rc file is planned but will require a native messenger. For more information, see [issue #79](https://github.com/cmcaine/tridactyl/issues/79).
@ -147,7 +148,7 @@ NOTE: key modifiers (eg: control, alt) are not supported yet. See the FAQ below.
- How can I bind keys using the control/alt key modifiers (eg: `ctrl+^`)?
`:bind <C-f> scrollpage 1`. Special keys can be bound too: `:bind <F3> set theme dark` and with modifiers: `:bind <S-F3> set theme default` and with multiple modifiers: `:bind <SA-F3> composite set hintchars 1234567890 | set hintfiltermode vimperator-reflow`
The modifiers are case insensitive. Special key names are not. The names used are those reported by Javascript with a limited number of vim compatibility aliases (e.g. `CR == Enter`).
If you want to bind <C-^> you'll find that you'll probably need to press Control+Shift+6 to trigger it. The default bind is <C-6> which does not require you to press shift.
@ -396,7 +397,7 @@ Some actions have their own interactive mini-mode:
## Logo acknowledgement
The logo was designed by Jake Beazley using free vector art by <a target="_blank" href="https://www.Vecteezy.com">www.Vecteezy.com</a>
The logo was designed by Jake Beazley using free vector art by <a target="_blank" href="https://www.Vecteezy.com">www.Vecteezy.com</a>
[gitter-badge]: https://badges.gitter.im/Join%20Chat.svg
[gitter-link]: https://gitter.im/tridactyl/Lobby

View file

@ -34,14 +34,14 @@
You do not need to worry about types.
At the bottom of each function's help page, you can click on a link that will take you straight to that function's definition in our code. This is especially recommended for browsing the [config](/static/docs/modules/_config_.html#defaults) which is nigh-on unreadable on these pages.
## Highlighted features:
- Press `b` to bring up a list of open tabs in the current window; you can
type the tab ID or part of the title or URL to choose a tab
- Press `I` to enter ignore mode. `Shift` + `Escape` to return to normal
mode.
- Press `Shift` + `Insert` to enter "ignore mode". Press `Shift` + `Insert`
again to return to "normal mode".
- Press `f` to start "hint mode", `F` to open in background
- Press `o` to `:open` a different page
- Press `s` if you want to search for something that looks like a domain
@ -1237,7 +1237,7 @@ async function getSortedWinTabs(): Promise<browser.tabs.Tab[]> {
return tabs
}
/** Toggle fullscreen state
/** Toggle fullscreen state
*/
//#background

View file

@ -22,7 +22,7 @@ REPLACE_ME_WITH_THE_CHANGE_LOG_USING_SED
## Highlighted features:
- `f`/`F` — enter the "hint mode" to select a link to follow. `F` to open it in a background tab.
- `I` — enter ignore mode to send all key presses to the web page you are on. `Shift` + `Escape` gets you back to the highly productive normal mode.
- `Shift` + `Insert` — enter "ignore mode" to send all key presses to the web page you are on. Press `Shift` + `Insert` again to return to the highly productive "normal mode".
- `H`/`L` — go back/forward in the history.
- `o`/`O` — open a URL in this tab (`O` to pre-load current URL).
- `t`/`T` — open a URL in a new tab (`T` to pre-load current URL).