add mapping for finding hidden files with telescope (#360)

This commit is contained in:
siduck76 2021-08-25 05:36:44 +05:30
parent 3dc1db884c
commit 4828cfd282
2 changed files with 3 additions and 1 deletions

View File

@ -158,7 +158,7 @@ end
M.nvimtree = function()
map("n", plugin_maps.nvimtree.toggle, ":NvimTreeToggle <CR>", opt)
map("n", plugin_maps.nvimtree.focus, ":NvimTreeFocus <CR>", opt)
map("n", plugin_maps.nvimtree.focus, ":NvimTreeFocus <CR>", opt)
end
M.neoformat = function()
@ -170,6 +170,7 @@ M.telescope = function()
map("n", m.buffers, ":Telescope buffers <CR>", opt)
map("n", m.find_files, ":Telescope find_files <CR>", opt)
map("n", m.find_hiddenfiles, ":Telescope find_files hidden=true <CR>", opt)
map("n", m.git_commits, ":Telescope git_commits <CR>", opt)
map("n", m.git_status, ":Telescope git_status <CR>", opt)
map("n", m.help_tags, ":Telescope help_tags <CR>", opt)

View File

@ -174,6 +174,7 @@ M.mappings.plugin = {
telescope = {
buffers = "<leader>fb",
find_files = "<leader>ff",
find_hiddenfiles = "<leader>fa",
git_commits = "<leader>cm",
git_status = "<leader>gt",
help_tags = "<leader>fh",