Commits

Ryan Wilcox committed d12367e

initial structure of the hcl vim plugin

Comments (0)

Files changed (1)

+" Vim HCL: plugin for easily accessing the HCL (Harvest Command Line Tool)
+" Maintainer: Ryan Wilcox: <http://flavors.me/rwilcox>, or <http://www.wilcoxd.com>
+" License: BSD
+
+if exists("loaded_hclvim")
+  finish
+endif
+let loaded_hclvim = 1
+
+if !hasmapto('<Plug>HCLStart')
+  map <unique> <Leader>h <Plug>HCLStart
+endif
+
+noremap <unique> <script><Plugi>HCLStart <SID>Start
+
+function s:Start()
+  execute '!ls' 
+end
+
+if !exists(":HCLStart")
+  command -nargs=0 HCLStart :call s:Start()
+endif
+