diff --git a/agignore b/agignore deleted file mode 100644 index 7071ca02..00000000 --- a/agignore +++ /dev/null @@ -1,10 +0,0 @@ -_srcs -log -tmp -node_modules -bower_compnents -.sass-cache - -*.min.css -*.min.js -*.min.map diff --git a/gemrc b/gemrc deleted file mode 100644 index 154cd47e..00000000 --- a/gemrc +++ /dev/null @@ -1 +0,0 @@ -gem: --no-document diff --git a/install/cli-tools.sh b/install/cli-tools.sh index b7b77c30..15fe9e2b 100755 --- a/install/cli-tools.sh +++ b/install/cli-tools.sh @@ -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 diff --git a/install/install.sh b/install/install.sh index 6911d78c..43f73e1f 100755 --- a/install/install.sh +++ b/install/install.sh @@ -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 diff --git a/install/node.sh b/install/node.sh index 8f590f66..725f276a 100755 --- a/install/node.sh +++ b/install/node.sh @@ -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 diff --git a/nvim/plugins.vim b/nvim/plugins.vim index ba30f98a..eca45fb7 100644 --- a/nvim/plugins.vim +++ b/nvim/plugins.vim @@ -45,8 +45,8 @@ let g:ale_linters={ nnoremap , :Files nnoremap . :Buffers nnoremap l :Lines -nnoremap a :Ag -nnoremap r :History: +nnoremap a :Rg +nnoremap h :History: " yankstack, use alt + p, alt + P nmap π yankstack_substitute_older_paste diff --git a/ripgreprc b/ripgreprc new file mode 100644 index 00000000..1b182582 --- /dev/null +++ b/ripgreprc @@ -0,0 +1,2 @@ +# Because who cares about case!? +--smart-case diff --git a/zsh/exports b/zsh/exports index 3f0145e2..e7842633 100644 --- a/zsh/exports +++ b/zsh/exports @@ -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"