Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-view/src/editor.rs')
| -rw-r--r-- | helix-view/src/editor.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs index 6193a852..b7b4c442 100644 --- a/helix-view/src/editor.rs +++ b/helix-view/src/editor.rs @@ -298,6 +298,8 @@ pub struct Config { pub scroll_lines: isize, /// Mouse support. Defaults to true. pub mouse: bool, + /// Which register to use for mouse yank. + pub mouse_yank_register: char, /// Shell to use for shell commands. Defaults to ["cmd", "/C"] on Windows and ["sh", "-c"] otherwise. pub shell: Vec<String>, /// Line number mode. @@ -1086,6 +1088,7 @@ impl Default for Config { scrolloff: 5, scroll_lines: 3, mouse: true, + mouse_yank_register: '*', shell: if cfg!(windows) { vec!["cmd".to_owned(), "/C".to_owned()] } else { |