Remove broken GitCompare vim function

:GitDiff should be used instead
This commit is contained in:
Talia 2023-10-24 16:44:17 +02:00
parent 1545c6ad6a
commit ed3f9a26ec
2 changed files with 7 additions and 5 deletions

7
bin/xls2csv Executable file
View file

@ -0,0 +1,7 @@
#!/bin/sh
for sheet in $(in2csv --names "$1")
do
basename=$(echo $1 | sed -e 's/\.[^\.]\+$//')
in2csv --sheet "$sheet" "$1" | csvformat -D \; > "$basename-$sheet.csv"
done

View file

@ -265,11 +265,6 @@ command! GitFirst call <sid>git_first() | call s:git_info()
command! GitLast call <sid>git_last() | call s:git_info()
command! GitInfo call <sid>git_info()
command! -nargs=1 GitCheckout call <sid>file_at_revision(<f-args>)
command! -nargs=? GitCompare try
\| call s:gitroot() | call <sid>git_diff(<f-args>)
\| catch
\| echo 'Not a git repo!'
\| endtry
command! GitRoot call <SID>cd_git_root('%')
command! GitOrig exec 'e '.b:git_original_file
command! ShowGitRoot try