From 974e652e8597b3623393ad56f67d19fcc1eaee03 Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Sun, 3 Nov 2019 22:40:29 +0100 Subject: Add vimgrep section --- vim.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/vim.md b/vim.md index 1da057c..9dda8a7 100644 --- a/vim.md +++ b/vim.md @@ -1,5 +1,15 @@ # Vim tricks +## vimgrep + +Search through all files in a directory + + :vimgrep /pattern/ **/* + +Open window with all instances: + + :copen + ## readline vi keybindings in various `readline` and similar CLIs: -- cgit v1.2.3