add mapping for finding hidden files with telescope (#360)
This commit is contained in:
parent
3dc1db884c
commit
4828cfd282
|
@ -158,7 +158,7 @@ end
|
||||||
|
|
||||||
M.nvimtree = function()
|
M.nvimtree = function()
|
||||||
map("n", plugin_maps.nvimtree.toggle, ":NvimTreeToggle <CR>", opt)
|
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
|
end
|
||||||
|
|
||||||
M.neoformat = function()
|
M.neoformat = function()
|
||||||
|
@ -170,6 +170,7 @@ M.telescope = function()
|
||||||
|
|
||||||
map("n", m.buffers, ":Telescope buffers <CR>", opt)
|
map("n", m.buffers, ":Telescope buffers <CR>", opt)
|
||||||
map("n", m.find_files, ":Telescope find_files <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_commits, ":Telescope git_commits <CR>", opt)
|
||||||
map("n", m.git_status, ":Telescope git_status <CR>", opt)
|
map("n", m.git_status, ":Telescope git_status <CR>", opt)
|
||||||
map("n", m.help_tags, ":Telescope help_tags <CR>", opt)
|
map("n", m.help_tags, ":Telescope help_tags <CR>", opt)
|
||||||
|
|
|
@ -174,6 +174,7 @@ M.mappings.plugin = {
|
||||||
telescope = {
|
telescope = {
|
||||||
buffers = "<leader>fb",
|
buffers = "<leader>fb",
|
||||||
find_files = "<leader>ff",
|
find_files = "<leader>ff",
|
||||||
|
find_hiddenfiles = "<leader>fa",
|
||||||
git_commits = "<leader>cm",
|
git_commits = "<leader>cm",
|
||||||
git_status = "<leader>gt",
|
git_status = "<leader>gt",
|
||||||
help_tags = "<leader>fh",
|
help_tags = "<leader>fh",
|
||||||
|
|
Loading…
Reference in New Issue