aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/keymap.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2025-06-18 13:39:35 +0200
committerJustin M. Keyes <justinkz@gmail.com>2025-07-10 21:50:46 -0400
commit58df501913c17cb3a79f41548088d0f0bcf3a305 (patch)
treea675ead42e96b8867349a94a6770596c7776c0f4 /runtime/lua/vim/keymap.lua
parent54cde0674b41ffd84a97b8e8f93167c00ef26c96 (diff)
downloadrneovim-58df501913c17cb3a79f41548088d0f0bcf3a305.tar.gz
rneovim-58df501913c17cb3a79f41548088d0f0bcf3a305.tar.bz2
rneovim-58df501913c17cb3a79f41548088d0f0bcf3a305.zip
docs: api, pack, events, develop
Diffstat (limited to 'runtime/lua/vim/keymap.lua')
-rw-r--r--runtime/lua/vim/keymap.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/lua/vim/keymap.lua b/runtime/lua/vim/keymap.lua
index 4c19435ef8..2afb628267 100644
--- a/runtime/lua/vim/keymap.lua
+++ b/runtime/lua/vim/keymap.lua
@@ -21,12 +21,12 @@ local keymap = {}
---
--- ```lua
--- -- Map "x" to a Lua function:
---- vim.keymap.set('n', 'x', function() print("real lua function") end)
+--- vim.keymap.set('n', 'x', function() print('real lua function') end)
--- -- Map "<leader>x" to multiple modes for the current buffer:
--- vim.keymap.set({'n', 'v'}, '<leader>x', vim.lsp.buf.references, { buffer = true })
--- -- Map <Tab> to an expression (|:map-<expr>|):
--- vim.keymap.set('i', '<Tab>', function()
---- return vim.fn.pumvisible() == 1 and "<C-n>" or "<Tab>"
+--- return vim.fn.pumvisible() == 1 and '<C-n>' or '<Tab>'
--- end, { expr = true })
--- -- Map "[%%" to a <Plug> mapping:
--- vim.keymap.set('n', '[%%', '<Plug>(MatchitNormalMultiBackward)')