diff options
author | qkzk <qu3nt1n@gmail.com> | 2022-12-17 22:21:48 +0100 |
---|---|---|
committer | qkzk <qu3nt1n@gmail.com> | 2022-12-17 22:21:48 +0100 |
commit | b70bc3d299ff9c76f0eda96626724196cc12314c (patch) | |
tree | 1fa9920af8861276daaf1e73225904cc2898d8a8 /src | |
parent | 4a8e3d8b576c35b82456216a36a02f8da726a301 (diff) |
document mark actions
Diffstat (limited to 'src')
-rw-r--r-- | src/mode.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mode.rs b/src/mode.rs index 778bf3f..8ded13d 100644 --- a/src/mode.rs +++ b/src/mode.rs @@ -1,8 +1,13 @@ use std::fmt; +/// Different kind of mark actions. +/// Either we jump to an existing mark or we save current path to a mark. +/// In both case, we'll have to listen to the next char typed. #[derive(Clone)] pub enum MarkAction { + /// Jump to a selected mark (ie a path associated to a char) Jump, + /// Creates a new mark (a path associated to a char) New, } |