feat: add gg and G to default mappings (#1325)

* feat: add `gg` and `G` to default mappings

* refactor: use action_state.get_current_picker

* docs: mention new default gg/G keymaps
This commit is contained in:
Zachary Churchill
2021-10-11 12:14:23 -04:00
committed by GitHub
parent 59f5873199
commit 3f45d64e9c
3 changed files with 11 additions and 8 deletions

View File

@@ -54,6 +54,8 @@ mappings.default_mappings = config.values.default_mappings
["<Down>"] = actions.move_selection_next,
["<Up>"] = actions.move_selection_previous,
["gg"] = actions.move_to_top,
["G"] = actions.move_to_bottom,
["<C-u>"] = actions.preview_scrolling_up,
["<C-d>"] = actions.preview_scrolling_down,