diff options
author | Justine Smithies <justine@smithies.me.uk> | 2024-05-13 18:13:55 +0100 |
---|---|---|
committer | Justine Smithies <justine@smithies.me.uk> | 2024-05-13 18:13:55 +0100 |
commit | f6577f6eeb8df6f539d4cad57fca043ff8c84673 (patch) | |
tree | 9ccc6cb0bbb3bdc931ce987fd939f0d2bf2b2fb2 /.config/helix/config.toml | |
parent | 02a7605b920c4cdf1f7cb34dcff0f4e5b2deb62d (diff) |
Added key binds to allow moving the line with the cursor on it up or down
Diffstat (limited to '.config/helix/config.toml')
-rw-r--r-- | .config/helix/config.toml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.config/helix/config.toml b/.config/helix/config.toml index 86aeed6..f3eaacb 100644 --- a/.config/helix/config.toml +++ b/.config/helix/config.toml @@ -39,6 +39,20 @@ display-inlay-hints = true C-g = ":toggle-option indent-guides.render" C-o = ":config-open" C-r = ":config-reload" +# Move line up/down +A-k = [ + "extend_to_line_bounds", + "delete_selection", + "move_line_up", + "paste_before" +] + +A-j = [ + "extend_to_line_bounds", + "delete_selection", + "move_line_down", + "paste_before" +] [keys.normal.space.space] h = ':set gutters ["diagnostics","spacer","diff"]' |