diff options
author | C.D. MacEachern <craig.daniel.maceachern@gmail.com> | 2024-12-01 16:58:28 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-01 13:58:28 -0800 |
commit | feb62d5429680278c1353c565db6bb3ecb3b7c24 (patch) | |
tree | 4d5b8e21eab04a6ace5090590981ae15357d8a0f /runtime/doc | |
parent | ab9cfc4dc3422af5235759efef456d3e02745217 (diff) | |
download | rneovim-feb62d5429680278c1353c565db6bb3ecb3b7c24.tar.gz rneovim-feb62d5429680278c1353c565db6bb3ecb3b7c24.tar.bz2 rneovim-feb62d5429680278c1353c565db6bb3ecb3b7c24.zip |
docs: example keybind for :Inspect #31391
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/lua.txt | 5 |
1 files changed, 5 insertions, 0 deletions
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 |