added $, ^, and 0 keybinds

This commit is contained in:
Emma Tebibyte 2023-04-15 17:34:53 -04:00
parent 487b8e4580
commit 2766539622
1 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,6 @@
/*
* Copyright (c) 2023 Marceline Cramer
* Copyright (c) 2023 Emma Tebibyte <emma@tebibyte.media>
* SPDX-License-Identifier: AGPL-3.0-or-later
*
* This program is free software: you can redistribute it and/or modify it under
@ -59,7 +60,10 @@ impl Default for Keybinds {
];
let normalish_keys = [
(Char(':'), command_mode as Action),
(Char(':'), command_mode as Action)
(Char('$'), goto_line_end),
(Char('0'), goto_line_start),
(Char('^'), goto_first_nonwhitespace)
(Char('h'), move_char_left),
(Char('j'), move_line_down),
(Char('k'), move_line_up),