Skip to content

Commit

Permalink
fix(docs): example (#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
gorillamoe authored Sep 9, 2024
1 parent ea1b276 commit 37977a4
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/docs/getting-started/example-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ vim.api.nvim_buf_set_keymap(
"n",
"<CR>",
"<cmd>lua require('kulala').run()<cr>",
{ noremap = true, silent = true }
{ noremap = true, silent = true, desc = "Execute the request" }
)
```

Expand All @@ -34,14 +34,14 @@ vim.api.nvim_buf_set_keymap(
"n",
"[",
"<cmd>lua require('kulala').jump_prev()<cr>",
{ noremap = true, silent = true }
{ noremap = true, silent = true, desc = "Jump to the previous request" }
)
vim.api.nvim_buf_set_keymap(
0,
"n",
"]",
"<cmd>lua require('kulala').jump_nevt()<cr>",
{ noremap = true, silent = true }
"<cmd>lua require('kulala').jump_next()<cr>",
{ noremap = true, silent = true, desc = "Jump to the next request" }
)
```

Expand All @@ -55,7 +55,7 @@ vim.api.nvim_buf_set_keymap(
"n",
"<leader>i",
"<cmd>lua require('kulala').inspect()<cr>",
{ noremap = true, silent = true }
{ noremap = true, silent = true, desc = "Inspect the current request" }
)
```

Expand All @@ -69,7 +69,7 @@ vim.api.nvim_buf_set_keymap(
"n",
"<leader>t",
"<cmd>lua require('kulala').toggle_view()<cr>",
{ noremap = true, silent = true }
{ noremap = true, silent = true, desc = "Toggle between body and headers" }
)
```

Expand All @@ -89,7 +89,7 @@ vim.api.nvim_buf_set_keymap(
"n",
"<leader>co",
"<cmd>lua require('kulala').copy()<cr>",
{ noremap = true, silent = true }
{ noremap = true, silent = true, desc = "Copy the current request as a curl command" }
)
```

Expand All @@ -110,6 +110,6 @@ vim.api.nvim_buf_set_keymap(
"n",
"<leader>ci",
"<cmd>lua require('kulala').from_curl()<cr>",
{ noremap = true, silent = true }
{ noremap = true, silent = true, desc = "Paste curl from clipboard as http request" }
)
```

0 comments on commit 37977a4

Please sign in to comment.