Skip to content

Instantly share code, notes, and snippets.

View kianryan's full-sized avatar

Kian Ryan kianryan

View GitHub Profile
@ccooke
ccooke / vsp
Last active August 29, 2015 14:13
A vim wrapper to automatically open files in vsplit in the correct order, passing through arguments correctly
#!/bin/bash
PARAM_OPTS=( )
function get_param_opts {
(( ${#PARAM_OPTS[@]} > 0 )) && return
PARAM_OPTS=( $( vim -h | sed -n -e '/^ *-[-a-z]* </s/ <.*$//p' ) )
}
vim_args=""
files=( )