Skip to content

docs: fix typo and newly discovered keymap context condition... #125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/reference/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ Runs an external process asynchronously. On Windows, GUIs are supressed.

`exec` is the default command used by build systems, thus it provides
similar functionality. However, a few options in build systems are taken
care of by Sublime Text internally so they list below only contains
care of by Sublime Text internally so the list below only contains
parameters accepted by this command.

- **cmd** [(String)]
Expand Down
57 changes: 41 additions & 16 deletions docs/reference/key_bindings.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,16 @@ provided by Sublime Text itself.
if the autocomplete list
is visible.

`eol_select`
: Selector to match scope name at end of current line

`following_text`
: Test against the selected text and the text
following it until the end of the line.

`group_has_multiselect`
: Returns `true` if group has multi-select

`has_next_field`
: Returns `true`
if a next snippet field
Expand All @@ -128,33 +138,61 @@ provided by Sublime Text itself.
if a previous snippet field
is available.

`is_javadoc`
: Returns `true` if caret(s) is (are) in a comment that
starts with `/**`

`is_recording_macro`
: Is user currently recording a macro?

`last_command`
: Returns the name of the last command run.

`last_modifying_command`
: Name of last command run that modified a buffer

`num_selections`
: Returns the number of selections.

`overlay_has_focus`
: Returns `true` if any overlay has focus.

`overlay_visible`
: Returns `true`
if any overlay is visible.

`panel`
: Returns `true`
if the panel given as `operand`
is visible.

`panel_has_focus`
: Returns `true`
if a panel
has input focus.

`panel_visible`
: Returns `true`
if any panel is visible.

`following_text`
: Test against the selected text and the text
following it until the end of the line.
`popup_visible`
: Is a popup currently being displayed?

`preceding_text`
: Test against the text on the line up to and
including the selection.

`read_only`
: Is buffer in read-only state?

`selection_empty`
: Returns `true`
if the selection
is an empty region.

`selector`
: Name of scope for current selection.

`setting.x`
: Returns the value of the `x` setting.
`x` can be any string.
Expand All @@ -163,19 +201,6 @@ provided by Sublime Text itself.
: Restricts the test
to the selected text.

`selector`
: Returns the name of the current scope.

`panel_has_focus`
: Returns `true`
if a panel
has input focus.

`panel`
: Returns `true`
if the panel given as `operand`
is visible.

<!-- Cause upper text to become a paragraph and fix a spacing bug. -->


Expand Down