Evil, evil, vim or is that zim because vim isn’t evil but neither was zim? Nope definitely vim, that’s whatI want to talk about today. That and ripgrep.
I find myself bouncing between vim and sublime depending on what I am doing. Either way I went back into vim today and found a nice plugin that leverages ripgrep. The repo for ripgrep can be found here: ripgrep . Although it is a simple install on mac with abrew install ripgrep,you will need to install the rg binary in order to get the vim plugin to work right. I love ripgrep for command line stuff therefore, having it in vim should be pretty great. Julia evans talked about the ripgrep plugin I’m going to use here. / vim-sessions with a link to her vimrc file vimrc and the plugin itself lives here: vim-ripgrep Since I use pathogen for my plugin manager installing the ripgrep plugin is as simple as cloning that repo into my bundle location. The install process for pathogen can be found here: vim-pathogen . Once pathogen is all setup the magic happens pretty easily. Pop open a blank file or any file in vim and pay attention to the directory that you are in.
Then just do a :Rg