Commit e7ecf9a

mo khan <mo.khan@gmail.com>
2019-10-15 18:30:16
add script to install fzf and fzf.vim
1 parent e4f4bb4
Changed files (5)
bin/add
@@ -0,0 +1,8 @@
+#!/usr/bin/env ruby
+# frozen_string_literal: true
+require 'uri'
+
+uri = URI.parse(ARGV[0])
+destination = "bundle/tools/#{uri.path.split('/')[-1]}"
+
+exec "git submodule add #{uri.to_s} #{destination}"
bundle/tools/fzf
@@ -0,0 +1,1 @@
+Subproject commit f1520bdde6c268cf3c77a70574b35019de3bcdd0
bundle/tools/fzf.vim
@@ -0,0 +1,1 @@
+Subproject commit 359a80e3a34aacbd5257713b6a88aa085337166f
.gitignore
@@ -1,5 +1,4 @@
 *.swp
-bundle
 tags
 backup
 tmp
.gitmodules
@@ -222,3 +222,9 @@
 [submodule "bundle/tools/matchit"]
 	path = bundle/tools/matchit
 	url = https://github.com/tmhedberg/matchit.git
+[submodule "bundle/tools/fzf"]
+	path = bundle/tools/fzf
+	url = https://github.com/junegunn/fzf
+[submodule "bundle/tools/fzf.vim"]
+	path = bundle/tools/fzf.vim
+	url = https://github.com/junegunn/fzf.vim