mirror of
https://github.com/vale981/tridactyl
synced 2025-03-06 01:51:40 -05:00
excmds.ts: use word "disable" in mode/blacklistadd
As mentionned in https://github.com/tridactyl/tridactyl/issues/339, this could be useful for users looking for the word 'disable' in the help pages.
This commit is contained in:
parent
70d3d9f352
commit
e108cbce7d
1 changed files with 14 additions and 5 deletions
|
@ -2396,10 +2396,17 @@ export function version() {
|
|||
fillcmdline_notrail(TRI_VERSION)
|
||||
}
|
||||
|
||||
/** Example:
|
||||
- `mode ignore` to ignore all keys.
|
||||
|
||||
Note that when in ignore mode, Tridactyl will not switch to insert mode when focusing text areas/inputs. This is by design.
|
||||
/**
|
||||
* Switch mode.
|
||||
*
|
||||
* For now you probably shouldn't manually switch to other modes than `normal` and `ignore`. Make sure you're aware of the key bindings (ignoremaps) that will allow you to go come back to normal mode from ignore mode before you run `:mode ignore` otherwise you're going to have a hard time re-enabling Tridactyl.
|
||||
*
|
||||
* Example:
|
||||
* - `mode ignore` to ignore almost all keys.
|
||||
*
|
||||
* If you're looking for a way to temporarily disable Tridactyl, `mode ignore` might be what you're looking for.
|
||||
*
|
||||
* Note that when in ignore mode, Tridactyl will not switch to insert mode when focusing text areas/inputs. This is by design.
|
||||
*/
|
||||
//#content
|
||||
export function mode(mode: ModeName) {
|
||||
|
@ -3127,6 +3134,8 @@ export function autocmddelete(event: string, url: string) {
|
|||
*
|
||||
* Due to a Tridactyl bug, the only way to remove these rules once they are set is to delete all of your autocmds with `unset autocmds`.
|
||||
*
|
||||
* If you're looking for a way to temporarily disable Tridactyl, this might be what you're looking for.
|
||||
*
|
||||
* <!-- this should probably be moved to an ex alias once configuration has better help --!>
|
||||
*
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue