Move to ripgrep, ditch silver searcher

main
Steffen Rademacker 5 years ago
parent a54b208f86
commit 8dfac03fdb

@ -1,10 +0,0 @@
_srcs
log
tmp
node_modules
bower_compnents
.sass-cache
*.min.css
*.min.js
*.min.map

@ -1 +0,0 @@
gem: --no-document

@ -13,7 +13,7 @@ brew install mozjpeg
brew install nginx
brew install openssl
brew install php --with-homebrew-curl
brew install the_silver_searcher
brew install ripgrep
brew install youtube-dl
# link keg-only / pre-installed duplicates

@ -33,9 +33,7 @@ read -p "Press any key to continue... " -n1 -s
# link the dotfiles
mkdir ~/.config
ln -s ~/dotfiles/agignore ~/.agignore
ln -s ~/dotfiles/editorconfig ~/.editorconfig
ln -s ~/dotfiles/gemrc ~/.gemrc
ln -s ~/dotfiles/gitconfig ~/.gitconfig
ln -s ~/dotfiles/gitignore ~/.gitignore
ln -s ~/dotfiles/hammerspoon ~/.hammerspoon

@ -10,6 +10,7 @@ npm install -g eslint-config-xo-space
npm install -g fkill-cli
npm install -g htmlhint
npm install -g jsonlint
npm install -g neovim
npm install -g npm-check-updates
npm install -g pure-prompt
npm install -g sass-lint

@ -45,8 +45,8 @@ let g:ale_linters={
nnoremap <silent> <space>, :Files<cr>
nnoremap <silent> <space>. :Buffers<cr>
nnoremap <silent> <space>l :Lines<cr>
nnoremap <silent> <space>a :Ag<cr>
nnoremap <silent> <space>r :History:<cr>
nnoremap <silent> <space>a :Rg<cr>
nnoremap <silent> <space>h :History:<cr>
" yankstack, use alt + p, alt + P
nmap π <Plug>yankstack_substitute_older_paste

@ -0,0 +1,2 @@
# Because who cares about case!?
--smart-case

@ -31,9 +31,10 @@ export VISUAL="/usr/local/bin/nvim"
# disable auto titling fixes tmux window
export DISABLE_AUTO_TITLE=true
# grep
# grep / ripgrep
export GREP_OPTIONS='--color=auto'
export GREP_COLOR='1;32'
export RIPGREP_CONFIG_PATH="$HOME/dotfiles/ripgreprc"
# pager
export PAGER="less"

Loading…
Cancel
Save