From f551c1d45b8c30131d39ff846119902dde7ac439 Mon Sep 17 00:00:00 2001 From: srdusr Date: Tue, 8 Nov 2022 23:26:14 +0200 Subject: New telescope mappings for 'changed_files', 'keymaps', 'help_tags', 'find_notes', 'grep_notes' and 'find_configs' --- lua/user/keys.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lua/user/keys.lua') diff --git a/lua/user/keys.lua b/lua/user/keys.lua index 9c8cdd9..47464b8 100644 --- a/lua/user/keys.lua +++ b/lua/user/keys.lua @@ -299,6 +299,9 @@ map("n", "fz", "lua require('fzf-lua').files()") -------------- Telescope -------------- --Telescope find_files cwd=.. map("n", "fc", "lua require('telescope.builtin').commands()") +map("n", "cf", "Telescope changed_files") +map("n", "fk", "lua require('telescope.builtin').keymaps()") +map("n", "fh", "lua require('telescope.builtin').help_tags()") --map( -- "n", -- "ft", @@ -315,6 +318,13 @@ map("n", "fg", "lua require('telescope.builtin').live_grep()") map("n", "fb", "lua require('telescope.builtin').current_buffer_fuzzy_find()") map("n", "fd", "lua require('telescope.builtin').diagnostics()") map("n", "fp", "Telescope pickers") + +-- find notes +map("n", "fn", [[lua require'plugins.telescope'.find_notes()]]) +-- search notes +map("n", "fgn", [[lua require'plugins.telescope'.grep_notes()]]) +-- Find files in config dirs +map("n", "f.", [[lua require'plugins.telescope'.find_configs()]]) --map("n", "fz", ":FZF") --map("t", [[]], [[]]) --map("n", "ff", ":NvimTreeToggle", {}) -- cgit v1.2.3