We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding the following lua script as .nvim.lua to a projects root folder
.nvim.lua
-- Save this as .nvim.lua local ok, telescope = pcall(require, "telescope.builtin") if not ok then return end vim.api.nvim_create_user_command("TelescopeHidden", function() telescope.find_files({ hidden = true, search_dirs = { "." }, file_ignore_patterns = { "^.git/" }, }) end, {}) vim.api.nvim_create_user_command("TelescopeHiddenGrep", function() telescope.live_grep({ hidden = true, additional_args = function() return { "--hidden" } end, file_ignore_patterns = { "^.git/" }, }) end, {}) vim.api.nvim_set_keymap("n", "<leader>sf", ":TelescopeHidden<CR>", { noremap = true, silent = true }) vim.api.nvim_set_keymap("n", "<leader>sg", ":TelescopeHiddenGrep<CR>", { noremap = true, silent = true })
makes it possible to overwrite the standard settings and search files/folders in hidden locations. Add this script as template in a location.
In addition, the following option needs to be set to enable the usage of local config files for nvim:
vim.opt.exrc = true
This option should then be placed in nvim/lua/options.lua
nvim/lua/options.lua
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Adding the following lua script as
.nvim.lua
to a projects root foldermakes it possible to overwrite the standard settings and search files/folders in hidden locations. Add this script as template in a location.
In addition, the following option needs to be set to enable the usage of local config files for nvim:
This option should then be placed in
nvim/lua/options.lua
The text was updated successfully, but these errors were encountered: