align view actions, bug fixes
This commit is contained in:
@@ -172,6 +172,11 @@ impl Default for Config {
|
||||
|
||||
("g".try_into().unwrap(), Action::GotoFileStart),
|
||||
].into()),
|
||||
(Some(PartialAction::View), [
|
||||
("z".try_into().unwrap(), Action::AlignViewCenter),
|
||||
("b".try_into().unwrap(), Action::AlignViewBottom),
|
||||
("t".try_into().unwrap(), Action::AlignViewTop),
|
||||
].into()),
|
||||
(Some(PartialAction::Space), [
|
||||
("w".try_into().unwrap(), Action::Save),
|
||||
].into()),
|
||||
@@ -239,6 +244,11 @@ impl Default for Config {
|
||||
|
||||
("m".try_into().unwrap(), Action::ToggleMark),
|
||||
].into()),
|
||||
(Some(PartialAction::View), [
|
||||
("z".try_into().unwrap(), Action::AlignViewCenter),
|
||||
("b".try_into().unwrap(), Action::AlignViewBottom),
|
||||
("t".try_into().unwrap(), Action::AlignViewTop),
|
||||
].into()),
|
||||
(Some(PartialAction::Space), [
|
||||
("w".try_into().unwrap(), Action::Save),
|
||||
].into()),
|
||||
|
||||
Reference in New Issue
Block a user