diff options
author | xaskii <[email protected]> | 2024-10-07 07:40:49 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2024-10-07 13:40:49 +0200 |
commit | 0a8aac26c2838f1d72ad4f057369205c647f46fb (patch) | |
tree | a3130347e80ec1b96f960ab910ba09044dd0286b /frontend/static | |
parent | 006af5aff88fe94f5e4ac4ad97d1688b365a02e0 (diff) | |
download | monkeytype-0a8aac26c2838f1d72ad4f057369205c647f46fb.tar.gz monkeytype-0a8aac26c2838f1d72ad4f057369205c647f46fb.zip |
impr(command line): add 'ctrl p' and 'ctrl n' navigation key binds (@xaskii) (#5949)
### Description
Adds `<Ctrl-p>` and `<Ctrl-n>` binds to the command-line. These are from
Emacs, but you can navigate up and down menus all over macOS and its
apps with these keybinds.
#### Relevant PRs
Refactor that removed the binds:
https://github.com/monkeytypegame/monkeytype/pull/5180
adding "vim keybinds":
https://github.com/monkeytypegame/monkeytype/pull/4019
Confirmed working on macOS (safari, firefox, and chrome). On windows,
`<Ctrl-n>`: opening a new window takes priority, but that's expected
behaviour.
### Checks
- [ ] Adding quotes?
- [ ] Make sure to include translations for the quotes in the
description (or another comment) so we can verify their content.
- [ ] Adding a language or a theme?
- [ ] If is a language, did you edit `_list.json`, `_groups.json` and
add `languages.json`?
- [ ] If is a theme, did you add the theme.css?
- Also please add a screenshot of the theme, it would be extra awesome
if you do so!
- [x] Check if any open issues are related to this PR; if so, be sure to
tag them below.
- [x] Make sure the PR title follows the Conventional Commits standard.
(https://www.conventionalcommits.org for more info)
- [x] Make sure to include your GitHub username prefixed with @ inside
parentheses at the end of the PR title.
<!-- label(optional scope): pull request title (@your_github_username)
-->
<!-- I know I know they seem boring but please do them, they help us and
you will find out it also helps you.-->
Closes issue discussed in discord.
<!-- the issue(s) your PR resolves if any (delete if that is not the
case) -->
<!-- please also reference any issues and or PRs related to your pull
request -->
<!-- Also remove it if you are not following any issues. -->
<!-- pro tip: you can mention an issue, PR, or discussion on GitHub by
referencing its hash number e.g:
[#1234](https://github.com/monkeytypegame/monkeytype/pull/1234) -->
<!-- pro tip: you can press . (dot or period) in the code tab of any
GitHub repo to get access to GitHub's VS Code web editor Enjoy! :) -->
Diffstat (limited to 'frontend/static')
0 files changed, 0 insertions, 0 deletions