about summary refs log tree commit diff
path: root/functions/vim_functions.sh
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2016-08-24T14·01-0400
committerWilliam Carroll <wpcarro@gmail.com>2016-08-24T14·01-0400
commit63b282709308bf04b58ffbccd6849254eed3133d (patch)
tree45dddfa4937a2fbd4db7a8f0aad768400c3f18a9 /functions/vim_functions.sh
parent337ba2e247963c80446bfaa14399344fca83c202 (diff)
Updates local machine settings
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