From 4b3a58449943e8219662d023a46a3e7708555ab3 Mon Sep 17 00:00:00 2001 From: Maltimore Date: Fri, 20 Jun 2025 12:09:28 +0200 Subject: [PATCH] README fix search_headings mapping suggestion --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 11f9cc4..5a5921f 100644 --- a/README.md +++ b/README.md @@ -113,17 +113,17 @@ require('telescope').setup({ For a particular command you can pass it directly in your key mapping to the function: ```lua -require('telescope').extension.orgmode.search_headings({ max_depth = 3 }) +require('telescope').extensions.orgmode.search_headings({ max_depth = 3 }) ``` You can also create a key mapping, that allows you to search directly for org files: ```lua -vim.set.keymap( +vim.keymap.set( "n", - "off", + "off", function() - require('telescope').extension.orgmode.search_headings({ mode = "orgfiles" }) + require('telescope').extensions.orgmode.search_headings({ mode = "orgfiles" }) end, { desc = "Find org files"} )