Skip to content
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 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ Display local network interface addresses with the `ip` prefix. Append `public`
Type `color` to open an interactive picker or specify a hex value such as `color #ff0000`. The plugin outputs the selected color in multiple formats: `#RRGGBB`, `rgb(r, g, b)` and `hsl(h, s%, l%)`. Use the arrow keys to highlight a format and press <kbd>Enter</kbd> to copy it to the clipboard.

### Notes Plugin
Manage quick Markdown notes with the `note` prefix. The editor window includes an **Open externally** button to open the current note in another program. A setting under the Note plugin labelled *Open externally* chooses the default opener: **Powershell**, **Notepad** or **Neither** to be asked each time. The **Powershell** option uses PowerShell 7 when available (listed as "Powershell" in the menu) and falls back to `powershell.exe`.
Manage quick Markdown notes with the `note` prefix. The editor window includes an **Open externally** button to open the current note in another program. A setting under the Note plugin labelled *Open externally* chooses the default opener: **WezTerm**, **Powershell**, **Notepad** or **Neither** to be asked each time. **WezTerm** is supported and is the default external editor. The **Powershell** option uses PowerShell 7 when available (listed as "Powershell" in the menu) and falls back to `powershell.exe`.

When the search box is empty the launcher shows these shortcuts along with `app <alias>` entries for saved actions.

Expand Down
2 changes: 1 addition & 1 deletion settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"note_save_on_close": false,
"note_always_overwrite": false,
"note_images_as_links": false,
"note_external_editor": null,
"note_external_editor": "wezterm",
"note_more_limit": 5,
"enable_toasts": true,
"toast_duration": 3.0,
Expand Down
4 changes: 2 additions & 2 deletions tests/wezterm_command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ use std::path::Path;
#[test]
fn builds_wezterm_command() {
let note = Path::new("note.txt");
let (cmd, _cmd_str) = build_wezterm_command(note, "nvim");
let (cmd, _cmd_str) = build_wezterm_command(note, "wezterm");
assert_eq!(cmd.get_program().to_string_lossy(), "wezterm");
let args: Vec<_> = cmd
.get_args()
.map(|a| a.to_string_lossy().into_owned())
.collect();
assert_eq!(args, ["start", "--", "nvim", "note.txt"]);
assert_eq!(args, ["start", "--", "wezterm", "note.txt"]);
}
Loading