mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 01:16:18 +04:00
feat: remap add cursor above to D instead of Alt-C
This commit is contained in:
parent
b53dafe326
commit
3a64f2df76
@ -127,7 +127,7 @@ ### Selection manipulation
|
|||||||
| `,` | Keep only the primary selection | `keep_primary_selection` |
|
| `,` | Keep only the primary selection | `keep_primary_selection` |
|
||||||
| `Alt-,` | Remove the primary selection | `remove_primary_selection` |
|
| `Alt-,` | Remove the primary selection | `remove_primary_selection` |
|
||||||
| `C` | Copy selection onto the next line (Add cursor below) | `copy_selection_on_next_line` |
|
| `C` | Copy selection onto the next line (Add cursor below) | `copy_selection_on_next_line` |
|
||||||
| `Alt-C` | Copy selection onto the previous line (Add cursor above) | `copy_selection_on_prev_line` |
|
| `D` | Copy selection onto the previous line (Add cursor above) | `copy_selection_on_prev_line` |
|
||||||
| `(` | Rotate main selection backward | `rotate_selections_backward` |
|
| `(` | Rotate main selection backward | `rotate_selections_backward` |
|
||||||
| `)` | Rotate main selection forward | `rotate_selections_forward` |
|
| `)` | Rotate main selection forward | `rotate_selections_forward` |
|
||||||
| `Alt-(` | Rotate selection contents backward | `rotate_selection_contents_backward` |
|
| `Alt-(` | Rotate selection contents backward | `rotate_selection_contents_backward` |
|
||||||
|
@ -75,7 +75,7 @@ pub fn default() -> HashMap<Mode, KeyTrie> {
|
|||||||
"A-c" => change_selection_noyank,
|
"A-c" => change_selection_noyank,
|
||||||
|
|
||||||
"C" => copy_selection_on_next_line,
|
"C" => copy_selection_on_next_line,
|
||||||
"A-C" => copy_selection_on_prev_line,
|
"D" => copy_selection_on_prev_line,
|
||||||
|
|
||||||
|
|
||||||
"s" => select_regex,
|
"s" => select_regex,
|
||||||
|
Loading…
Reference in New Issue
Block a user