From faaaf6cf8408680b7689b13341299d7699bfc836 Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Mon, 8 May 2023 09:44:25 +0200 Subject: [PATCH] nvim: telescope oldfiles all dirs by default --- .config/nvim/lua/plugins/telescope.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/nvim/lua/plugins/telescope.lua b/.config/nvim/lua/plugins/telescope.lua index cb54946..a74ea03 100644 --- a/.config/nvim/lua/plugins/telescope.lua +++ b/.config/nvim/lua/plugins/telescope.lua @@ -24,8 +24,8 @@ function M.config() vim.keymap.set("n", "b", 'lua require("telescope.builtin").buffers()') vim.keymap.set("n", "f", 'lua require("telescope.builtin").oldfiles()') - vim.keymap.set("n", "", 'lua require("telescope.builtin").oldfiles({cwd_only=true})') - vim.keymap.set("n", "", 'lua require("telescope.builtin").oldfiles()') + vim.keymap.set("n", "", 'lua require("telescope.builtin").oldfiles()') + vim.keymap.set("n", "", 'lua require("telescope.builtin").oldfiles({cwd_only=true})') vim.keymap.set("n", "d", 'lua require("telescope.builtin").diagnostics({bufnr=0})') vim.keymap.set("n", "e", 'lua require("telescope.builtin").git_files()') vim.keymap.set("n", "g", 'lua require("telescope.builtin").git_status()')