From feb62d5429680278c1353c565db6bb3ecb3b7c24 Mon Sep 17 00:00:00 2001 From: "C.D. MacEachern" Date: Sun, 1 Dec 2024 16:58:28 -0500 Subject: docs: example keybind for :Inspect #31391 --- runtime/doc/lua.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'runtime/doc') diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt index c3dddaf888..047e263768 100644 --- a/runtime/doc/lua.txt +++ b/runtime/doc/lua.txt @@ -1911,6 +1911,11 @@ vim.show_pos({bufnr}, {row}, {col}, {filter}) *vim.show_pos()* Can also be shown with `:Inspect`. *:Inspect* + Example: To bind this function to the vim-scriptease inspired `zS` in + Normal mode: >lua + vim.keymap.set('n', 'zS', vim.show_pos) +< + Attributes: ~ Since: 0.9.0 -- cgit