zed/assets/keymaps
blufony adcaa211ec
Add keybindings to jump to first / last file in project panel (#11073)
Release Notes:
- vim: Support `g g`/`G` to go to top/bottom of the project panel.

In vim type environments i usually expect to be able to jump to the top
and bottom and i was confused as to why that wasn't possible in the
project panel. So i added it. If anyone using different keymaps also
thinks this might be useful i would be happy to add other defaults. I
think for vim mode it is the most useful though, because you tend to not
use your mouse in vim mode.

This is my first contribution to any rust project, but it seemed like a
good starting point.
The function select_last() is inspired by select_first.
I was also thinking about adding a bigger jump keybinding, that would
jump for example 5 entries up / down, with vim default keybindings "{" /
"}".
FYI: I tested this on linux only and don't have access to any macos
machines.


- N/A
2024-04-26 16:35:57 -06:00
..
atom.json Format JSON files in assets/ (#8405) 2024-02-25 14:11:38 -05:00
default-linux.json Fix keybinding errors on Linux (#10982) 2024-04-25 13:44:24 +02:00
default-macos.json Allow pressing escape to cancel the current assistant generation (#10987) 2024-04-25 15:12:58 +02:00
jetbrains.json Split DuplicateLine into DuplicateLineUp and DuplicateLineDown (#9715) 2024-03-28 12:52:08 +02:00
storybook.json storybook: Fix Backspace in Auto Height Editor and Picker stories (#11011) 2024-04-25 17:37:47 -04:00
sublime_text.json fix default keybindings for select all matches 2023-09-20 17:14:19 -07:00
textmate.json Split DuplicateLine into DuplicateLineUp and DuplicateLineDown (#9715) 2024-03-28 12:52:08 +02:00
vim.json Add keybindings to jump to first / last file in project panel (#11073) 2024-04-26 16:35:57 -06:00