Swap to ripgrep (slowly)
This commit is contained in:
parent
a65bd1be66
commit
289cbfe53a
2 changed files with 19 additions and 2 deletions
|
@ -17,7 +17,7 @@ install_shared_applications() {
|
||||||
brew install direnv fzf git stow the_silver_searcher tmux \
|
brew install direnv fzf git stow the_silver_searcher tmux \
|
||||||
vim zsh rbenv ruby-build tfenv nodenv node-build tig libpq gnupg llvm \
|
vim zsh rbenv ruby-build tfenv nodenv node-build tig libpq gnupg llvm \
|
||||||
awscli cmake jq watch gh nvim openssl@1.1 openssl@3 readline libyaml gmp \
|
awscli cmake jq watch gh nvim openssl@1.1 openssl@3 readline libyaml gmp \
|
||||||
pyenv
|
pyenv ripgrep
|
||||||
|
|
||||||
install_fzf
|
install_fzf
|
||||||
install_rust
|
install_rust
|
||||||
|
|
|
@ -47,11 +47,28 @@ vim.keymap.set("n", "<Leader>pc", ":PackerClean<CR>")
|
||||||
--- telescope.nvim
|
--- telescope.nvim
|
||||||
vim.keymap.set("n", "<C-p>", function()
|
vim.keymap.set("n", "<C-p>", function()
|
||||||
require("telescope.builtin").find_files({
|
require("telescope.builtin").find_files({
|
||||||
file_ignore_patterns = {".git/", "node_modules/"},
|
|
||||||
hidden = true,
|
hidden = true,
|
||||||
previewer = false,
|
previewer = false,
|
||||||
})
|
})
|
||||||
end)
|
end)
|
||||||
|
vim.keymap.set('n', '<Leader>ff', function()
|
||||||
|
require("telescope.builtin").find_files({
|
||||||
|
file_ignore_patterns = {".git/", "node_modules/"},
|
||||||
|
hidden = true,
|
||||||
|
no_ignore = true,
|
||||||
|
previewer = false,
|
||||||
|
})
|
||||||
|
end)
|
||||||
|
vim.keymap.set('n', '<Leader>fg', function()
|
||||||
|
require("telescope.builtin").live_grep({
|
||||||
|
file_ignore_patterns = {".git/", "node_modules/"},
|
||||||
|
hidden = true,
|
||||||
|
previewer = false,
|
||||||
|
})
|
||||||
|
end)
|
||||||
|
vim.keymap.set('n', '<Leader>fb', function()
|
||||||
|
require("telescope.builtin").buffers()
|
||||||
|
end)
|
||||||
|
|
||||||
--- whitespace.nvim
|
--- whitespace.nvim
|
||||||
require("whitespace-nvim").setup({
|
require("whitespace-nvim").setup({
|
||||||
|
|
Loading…
Reference in a new issue