Skip to main content

default_keymap

Function default_keymap 

Source
pub fn default_keymap() -> Keymap<Action>
Available on crate feature log-viewer only.
Expand description

The default log shortcuts:

The log resolves these itself, only while it has focus, which it takes when any part of it is pressed. Keys the search field uses, such as typing, Home and End, stay with the field. While the field has focus, Enter and F3 step to the next match and Shift+Enter and Shift+F3 to the previous one, Mod+F selects its text, and Escape clears the text, then a second Escape leaves the field. Action::TogglePause and Action::ToggleWrap are on the toolbar and have no chord until one is bound. Pass a changed keymap with LogViewer::keymap.