about summary refs log tree commit diff
path: root/functions/vim_functions.sh
diff options
context:
space:
mode:
Diffstat (limited to 'functions/vim_functions.sh')
-rw-r--r--functions/vim_functions.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/functions/vim_functions.sh b/functions/vim_functions.sh
index 63e01b534b18..70aed74df9bd 100644
--- a/functions/vim_functions.sh
+++ b/functions/vim_functions.sh
@@ -21,7 +21,8 @@ function vfzopen() {
 
 
   if [ ! -z "$filename" ]; then
-    vim "$filename"
+    echo "$filename"
+    vim +/"$search_query" "$filename"
     return 0
   else
     return 1