mirror of https://github.com/helix-editor/helix
Merge 44a8b8dbe8
into fed3edcab7
commit
6e94610fe7
|
@ -455,8 +455,8 @@ See the documentation page on [pickers](./pickers.md) for more info.
|
|||
| `Tab`, `Down`, `Ctrl-n` | Next entry |
|
||||
| `PageUp`, `Ctrl-u` | Page up |
|
||||
| `PageDown`, `Ctrl-d` | Page down |
|
||||
| `Home` | Go to first entry |
|
||||
| `End` | Go to last entry |
|
||||
| `Ctrl-Home` | Go to first entry |
|
||||
| `Ctrl-End` | Go to last entry |
|
||||
| `Enter` | Open selected |
|
||||
| `Alt-Enter` | Open selected in the background without closing the picker |
|
||||
| `Ctrl-s` | Open horizontally |
|
||||
|
|
|
@ -1062,10 +1062,10 @@ impl<I: 'static + Send + Sync, D: 'static + Send + Sync> Component for Picker<I,
|
|||
key!(PageUp) | ctrl!('u') => {
|
||||
self.page_up();
|
||||
}
|
||||
key!(Home) => {
|
||||
ctrl!(Home) => {
|
||||
self.to_start();
|
||||
}
|
||||
key!(End) => {
|
||||
ctrl!(End) => {
|
||||
self.to_end();
|
||||
}
|
||||
key!(Esc) | ctrl!('c') => return close_fn(self),
|
||||
|
|
Loading…
Reference in New Issue