Move selection saving/restoring to z/Z

Fixes #284
This commit is contained in:
Maxime Coste 2015-07-11 11:34:41 +01:00
parent a15d816ea8
commit 24de3ed822
2 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@
┃ ┃ append│ select│ delete│ char│ │ ← │ ↓ │ ↑ │ → │ cursor│ rotate│eschook┃ ┃
┣━━━━━━━━━┳━━━┹───┬───┴───┬───┴───┬───┴───┬───┴───┬───┴───┬───┴───┬───┴───┬───┴───┬───┴───┬───┴───┲━━━┷━━━━━━━┻━━━━━━━━┫
┃ ┃ indent│ │ ᵐ│copysel│ ᵛ│ ᵐʷ│ ᵐʳ│ │ dedent│ indent│ ᵐʳ┃ ┃
┃ ┠┄┄┄┄┄┄┄┤ │ select├┄┄┄┄┄┄┄┤ view│ prev│ search│ match├┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄┤ search┃ ┃
┃ ┠┄┄┄┄┄┄┄┤ marks│ select├┄┄┄┄┄┄┄┤ view│ prev│ search│ match├┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄┤ search┃ ┃
┃ ⇧ ┃ dedent│ │ line│ change│ cmds│ word│ next│ char│ user│ repeat│ ┃ ⇧ ┃
┣━━━━━━━━━┻┳━━━━━━┷━━━┳━━━┷━━━━━┱─┴───────┴───────┴───────┴───────┴───────┴─┲━━━━━┷━━━━┳━━┷━━━━━━━╋━━━━━━━━━┳━━━━━━━━━━┫
┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃

View File

@ -1665,8 +1665,8 @@ static NormalCmdDesc cmds[] =
{ Key::PageUp, "scroll one page up", scroll<Key::PageUp> },
{ Key::PageDown, "scroll one page down", scroll<Key::PageDown> },
{ '^', "restore selections", restore_selections },
{ alt('^'), "save selections", save_selections },
{ 'z', "restore selections", restore_selections },
{ 'Z', "save selections", save_selections },
};
KeyMap keymap = cmds;