m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/vim.md
diff options
context:
space:
mode:
Diffstat (limited to 'vim.md')
-rw-r--r--vim.md10
1 files changed, 10 insertions, 0 deletions
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: