Skip to content

Instantly share code, notes, and snippets.

@potix2
Created December 15, 2011 09:22
Show Gist options
  • Save potix2/1480489 to your computer and use it in GitHub Desktop.
Save potix2/1480489 to your computer and use it in GitHub Desktop.
function! PutRelativePathsFromCWD()"{{{
let paths = split(substitute(getreg(), getcwd() ."/", "", "g"), '\n')
:call append(line('.'), paths)
endfunction"}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment