Commit 76afe39b authored by Jan Hensel's avatar Jan Hensel 🐧
Browse files

nvim::telescope: Find hidden files but not .gitignored files

parent f497f9d7
......@@ -74,7 +74,7 @@ nnoremap <leader>gh :Gitsigns toggle_numhl<CR>
nnoremap <leader>gH :Gitsigns toggle_word_diff<CR>
" find binds (telescope and fzf)
nnoremap <silent> <leader>ff :lua require'telescope.builtin'.find_files({no_ignore = true})<CR>
nnoremap <silent> <leader>ff :lua require'telescope.builtin'.find_files({hidden = true})<CR>
nnoremap <leader>fF :Files<CR>
nnoremap <silent> <leader>fc :lua require'telescope.builtin'.find_files({cwd = "$HOME/.config/"})<cr>
nnoremap <leader>fA :Ag<CR>
......
......@@ -26,6 +26,7 @@ require('telescope').setup{
borderchars = { " ", " ", " ", " ", " ", " ", " ", " " },
file_sorter = require'telescope.sorters'.get_fzy_sorter,
generic_sorter = require'telescope.sorters'.get_fzy_sorter,
file_ignore_patterns = { ".git/" },
},
pickers = {
-- Default configuration for builtin pickers goes here:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment