From 37977a4eb6a50e0ec53c6890a7fbd74f97a80409 Mon Sep 17 00:00:00 2001 From: Marco Kellershoff <1384938+gorillamoe@users.noreply.github.com> Date: Mon, 9 Sep 2024 20:12:52 +0200 Subject: [PATCH] fix(docs): example (#227) --- .../getting-started/example-configuration.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/docs/getting-started/example-configuration.md b/docs/docs/getting-started/example-configuration.md index 0f1b4f0..7cd05a1 100644 --- a/docs/docs/getting-started/example-configuration.md +++ b/docs/docs/getting-started/example-configuration.md @@ -20,7 +20,7 @@ vim.api.nvim_buf_set_keymap( "n", "", "lua require('kulala').run()", - { noremap = true, silent = true } + { noremap = true, silent = true, desc = "Execute the request" } ) ``` @@ -34,14 +34,14 @@ vim.api.nvim_buf_set_keymap( "n", "[", "lua require('kulala').jump_prev()", - { noremap = true, silent = true } + { noremap = true, silent = true, desc = "Jump to the previous request" } ) vim.api.nvim_buf_set_keymap( 0, "n", "]", - "lua require('kulala').jump_nevt()", - { noremap = true, silent = true } + "lua require('kulala').jump_next()", + { noremap = true, silent = true, desc = "Jump to the next request" } ) ``` @@ -55,7 +55,7 @@ vim.api.nvim_buf_set_keymap( "n", "i", "lua require('kulala').inspect()", - { noremap = true, silent = true } + { noremap = true, silent = true, desc = "Inspect the current request" } ) ``` @@ -69,7 +69,7 @@ vim.api.nvim_buf_set_keymap( "n", "t", "lua require('kulala').toggle_view()", - { noremap = true, silent = true } + { noremap = true, silent = true, desc = "Toggle between body and headers" } ) ``` @@ -89,7 +89,7 @@ vim.api.nvim_buf_set_keymap( "n", "co", "lua require('kulala').copy()", - { noremap = true, silent = true } + { noremap = true, silent = true, desc = "Copy the current request as a curl command" } ) ``` @@ -110,6 +110,6 @@ vim.api.nvim_buf_set_keymap( "n", "ci", "lua require('kulala').from_curl()", - { noremap = true, silent = true } + { noremap = true, silent = true, desc = "Paste curl from clipboard as http request" } ) ```