Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: thomasschafer/scooter
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 6a68e64ec105f01323e3de9aa973c70c3e214e1c
Choose a base ref
..
head repository: thomasschafer/scooter
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f8ec8851c5e8e205722daaa7232da64f336e85be
Choose a head ref
Showing with 2 additions and 2 deletions.
  1. +1 −1 README.md
  2. +1 −1 scooter/src/config.rs
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -150,7 +150,7 @@ The following options can be set in your configuration file:

#### `command`

The command used when pressing `o` on the search results page. Two variable are available: `%file`, which will be replaced with the file path of the seach result, and `%line`, which will be replaced with the line number of the result. For example:
The command used when pressing `o` on the search results page. Two variables are available: `%file`, which will be replaced with the file path of the seach result, and `%line`, which will be replaced with the line number of the result. For example:
```toml
[editor_open]
command = "vi %file +%line"
2 changes: 1 addition & 1 deletion scooter/src/config.rs
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@ pub struct Config {
#[derive(Debug, Deserialize)]
#[serde(deny_unknown_fields)]
pub struct EditorOpenConfig {
/// The command used when pressing `o` on the search results page. Two variable are available: `%file`, which will be replaced with the file path of the seach result, and `%line`, which will be replaced with the line number of the result. For example:
/// The command used when pressing `o` on the search results page. Two variables are available: `%file`, which will be replaced with the file path of the seach result, and `%line`, which will be replaced with the line number of the result. For example:
/// ```toml
/// [editor_open]
/// command = "vi %file +%line"