# Text Editing

![Text Editing](https://2601110467-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FD8O5fssYnaBOu9mRhfR3%2Fuploads%2FBTei0DiX4bqZPvwNL8qr%2FScreenshot%202023-08-06%20at%209.00.09%20AM.png?alt=media\&token=64d1a908-8e3d-43e6-882a-d91aad6faef7)

Text editing should work as you expect. This is a nice feature of Bike. Often outliner applications constrain text editing in various ways. Bike doesn't do that.

### Bike Text Editing

In addition to expected text editing commands Bike also adds a few new ones.

Selection commands:

* Selection > Select Word (`Control-W`)\
  Expand selection to word boundaries.
* Selection > Select Sentence (`Control-S`)\
  Expand selection to sentence boundaries.
* Selection > Select Paragraph (`Shift-Command-L`)\
  Expand selection to paragraph boundaries.
* Selection > Select Branch (`Shift-Command-B`)\
  Expand selection to branch boundaries.
* Selection > Expand Selection (`Option-Command-Up`)\
  Expand the selection up through the different boundary levels.
* Selection > Contract Selection (`Option-Command-Down`)\
  Undo previous Expand Selection command.

Outline commands:

* Outline > New Row (`Command-Return`)\
  This is similar to pressing `Return`. The difference is that it will only insert a new row. Pressing `Return` will replace the selection with a newline to create the new row.
* Outline > Duplicate (`Command-Shift-D`)
* Outline > Indent (`Control-Command-Right`)
* Outline > Outdent (`Control-Command-Left`)
* Outline > Move Up (`Control-Command-Up`)
* Outline > Move Down (`Control-Command-Down`)
* Outline > Move to Heading... (`Command-\`)&#x20;
* Outline > Delete Rows (`Command-Shift-K`)

{% hint style="info" %}
Indent and Outdent are important and used frequently. There are multiple keyboard shortcuts to perform these two commands. First you can use `Tab` and `Shift-Tab`as described in [Getting Started](https://bikeguide.hogbaysoftware.com/getting-started). Second you can use the above arrow key based shortcuts. Third you can use `Command-]` and `Command-[`.
{% endhint %}

{% hint style="info" %}
In text editing mode, these commands all work on individual rows, unconstrained by the outline structure. This is as you would expect in a text editor, but maybe different than you would expect if you are used to outliners. See [outline editing](https://bikeguide.hogbaysoftware.com/using-bike/outline-editing) for outline editing behavior.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://bikeguide.hogbaysoftware.com/using-bike/text-editing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
