Configure telescope to search hidden files

This commit is contained in:
Dave Gallant
2021-11-20 00:02:51 -05:00
parent 4999c3a157
commit 5105a0d7e4
2 changed files with 16 additions and 16 deletions

30
flake.lock generated
View File

@@ -58,11 +58,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1637188941, "lastModified": 1637362702,
"narHash": "sha256-4aA5iNVhSDbKjsPeG4n0SvfPQ3sd9ve23b05bVztSq4=", "narHash": "sha256-WFGEXrh2wWHi5DLdUX1qM5T3P5TgmVE6AyM+bVuOaNs=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "d85bf67c48f5c64ca39d3d48375e742e16933f4f", "rev": "8230decb3f0cb3408607accc93e5d0951ebf3963",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -80,11 +80,11 @@
}, },
"locked": { "locked": {
"dir": "contrib", "dir": "contrib",
"lastModified": 1637090879, "lastModified": 1637272186,
"narHash": "sha256-mHwStRf24MPl1Rjhb2PfZGfK4hSP2A6lWxj7J2tLzlI=", "narHash": "sha256-oyBhg4kPD9mIbRhYXth5GCrKKfSM5dQRn8Hk2P08CRY=",
"owner": "neovim", "owner": "neovim",
"repo": "neovim", "repo": "neovim",
"rev": "eba317d7a907a76e6e265c0fe0b97a87f17cf943", "rev": "f71be1f87b40bf863b6cf6b4fbcebffdd3297d88",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -101,11 +101,11 @@
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
}, },
"locked": { "locked": {
"lastModified": 1637136812, "lastModified": 1637309617,
"narHash": "sha256-DGBkLwdCcYZacovMsr3eFDypVBkVsSp4l7Mtj626hDs=", "narHash": "sha256-hS3EQgwgJJuZgGh2tClS11+VUrnlyYYFjOnTlr6tRkc=",
"owner": "nix-community", "owner": "nix-community",
"repo": "neovim-nightly-overlay", "repo": "neovim-nightly-overlay",
"rev": "d847d1db450cb343dec9faf39a1bdea113161e34", "rev": "a2371d664bb9b96b664159e9c023ea16ddee9e6d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -116,11 +116,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1637170060, "lastModified": 1637242070,
"narHash": "sha256-He3CaRefpj9VctY9NMqyYc8blkrJK7AIj7z8YBxohq4=", "narHash": "sha256-/XCFGOriSpAgo0lPxVK12vFBpta567kwfHZr5tNNHyE=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "ad0b7c5a9585f1b622560ab1a90b562a6ac45e18", "rev": "5a7e613703ea349fd46b3fa2f3dfe3bd5444d591",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -148,11 +148,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1636976544, "lastModified": 1637155076,
"narHash": "sha256-9ZmdyoRz4Qu8bP5BKR1T10YbzcB9nvCeQjOEw2cRKR0=", "narHash": "sha256-26ZPNiuzlsnXpt55Q44+yzXvp385aNAfevzVEKbrU5Q=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "931ab058daa7e4cd539533963f95e2bb0dbd41e6", "rev": "715f63411952c86c8f57ab9e3e3cb866a015b5f2",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -293,7 +293,7 @@ vim.g["prettier#autoformat"] = 1
vim.g.gitblame_enabled = 0 vim.g.gitblame_enabled = 0
-- telescope -- telescope
vim.api.nvim_set_keymap("n", "<leader>ff", "<cmd>Telescope find_files<cr>", { silent = true, noremap = true }) vim.api.nvim_set_keymap("n", "<leader>ff", "<cmd>Telescope find_files find_command=rg,--ignore,--hidden,--files,-g,!.git prompt_prefix=🔍<cr>", { silent = true, noremap = true })
vim.api.nvim_set_keymap("n", "<leader>fg", "<cmd>Telescope live_grep<cr>", { silent = true, noremap = true }) vim.api.nvim_set_keymap("n", "<leader>fg", "<cmd>Telescope live_grep<cr>", { silent = true, noremap = true })
-- NvimTree -- NvimTree