From 2728b4efe03056a14c2c6b09f8186f9244e8cf58 Mon Sep 17 00:00:00 2001 From: Evgeni Chasnovski Date: Sun, 5 Oct 2025 19:17:50 +0300 Subject: feat(pack): add `[[` and `]]` mappings in confirmation buffer Problem: No easy/robust way to jump between plugin sections. Solution: Add `[[` and `]]` mappings. --- runtime/lua/vim/pack.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'runtime/lua/vim/pack.lua') diff --git a/runtime/lua/vim/pack.lua b/runtime/lua/vim/pack.lua index 6790350bc3..35952243b9 100644 --- a/runtime/lua/vim/pack.lua +++ b/runtime/lua/vim/pack.lua @@ -957,8 +957,10 @@ end --- - If `false`, show confirmation buffer. It lists data about all set to --- update plugins. Pending changes starting with `>` will be applied while --- the ones starting with `<` will be reverted. ---- It has special in-process LSP server attached to provide more interactive ---- features. Currently supported methods: +--- It has dedicated buffer-local mappings: +--- - |]]| and |[[| to navigate through plugin sections. +--- +--- Some features are provided via LSP: --- - 'textDocument/documentSymbol' (`gO` via |lsp-defaults| --- or |vim.lsp.buf.document_symbol()|) - show structure of the buffer. --- - 'textDocument/hover' (`K` via |lsp-defaults| or |vim.lsp.buf.hover()|) - -- cgit