feat: wire up keybinds
- added keybinds for existing file actions - added keybinds to support zooming
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ pub fn save_file_to_disk(path: PathBuf, text: String) {
|
||||
let save_result = write(path, text);
|
||||
|
||||
match save_result {
|
||||
Ok(_) => println!("Save file successfully"),
|
||||
Ok(_) => {},
|
||||
Err(err) => eprintln!("Error: {}", err),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user