added $, ^, and 0 keybinds
This commit is contained in:
parent
487b8e4580
commit
2766539622
|
@ -1,5 +1,6 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2023 Marceline Cramer
|
* Copyright (c) 2023 Marceline Cramer
|
||||||
|
* Copyright (c) 2023 Emma Tebibyte <emma@tebibyte.media>
|
||||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify it under
|
* 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 = [
|
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('h'), move_char_left),
|
||||||
(Char('j'), move_line_down),
|
(Char('j'), move_line_down),
|
||||||
(Char('k'), move_line_up),
|
(Char('k'), move_line_up),
|
||||||
|
|
Loading…
Reference in New Issue