Merge pull request 'New keybinds `$`, `0`, and `^`' (#15) from emma/breed:keybinds into main
Reviewed-on: #15
This commit is contained in:
commit
6f643b1750
|
@ -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
|
||||||
|
@ -60,6 +61,9 @@ 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