From f20fa54452335ebfa5fcbd567d2a9a3002fdcba1 Mon Sep 17 00:00:00 2001 From: Stefan Imhoff Date: Tue, 12 Jul 2022 21:27:42 +0200 Subject: [PATCH] docs(fzf): add comment to explain why this works --- zshrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zshrc b/zshrc index 71b0b8f..5b06764 100644 --- a/zshrc +++ b/zshrc @@ -183,7 +183,8 @@ fdr() { cd "$DIR" } -# Find in files with ripgrep and fzf +# Find in files with ripgrep and fzf and open on that line +# -> Works together with Vim Plugin bogado/file-line frg() { file=$(rg . --line-number | fzf | cut -d: -f1 -f2) if [ "$file" != "" ]