diff options
| author | Zachary Churchill <zacharyachurchill@gmail.com> | 2021-10-11 12:14:23 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-11 18:14:23 +0200 |
| commit | 3f45d64e9c47ad9eef273ddab65790a84cced30b (patch) | |
| tree | c2d80bf8c4bf4729869a4e70b156bb8abb2b1e77 /lua/telescope/mappings.lua | |
| parent | 59f5873199625304bf8350f0eb04ff45aee65f2f (diff) | |
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
Diffstat (limited to 'lua/telescope/mappings.lua')
| -rw-r--r-- | lua/telescope/mappings.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/telescope/mappings.lua b/lua/telescope/mappings.lua index fa2e2f5..08bc3bb 100644 --- a/lua/telescope/mappings.lua +++ b/lua/telescope/mappings.lua @@ -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, |
