Enum fm::mode::InputSimple
source · pub enum InputSimple {
Rename,
Chmod,
Newfile,
Newdir,
RegexMatch,
Sort,
Marks(MarkAction),
Filter,
}Expand description
Different modes in which the user is expeted to type something. It may be a new filename, a mode (aka an octal permission), the name of a new file, of a new directory, A regex to match all files in current directory, a kind of sort, a mark name, a new mark or a filter.
Variants§
Rename
Rename the selected file
Chmod
Change permissions of the selected file
Newfile
Touch a new file
Newdir
Mkdir a new directory
RegexMatch
Flag files matching a regex
Sort
Change the type of sort
Marks(MarkAction)
Jump to a saved mark
Filter
Filter by extension, name, directory or no filter
Trait Implementations§
source§impl Clone for InputSimple
impl Clone for InputSimple
source§fn clone(&self) -> InputSimple
fn clone(&self) -> InputSimple
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more