Skip to content

Instantly share code, notes, and snippets.

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
View vsp
#!/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=( )