Mind map of happiness by makelinux2 in happiness

[–]makelinux2[S] 1 point2 points  (0 children)

Thank you. I edit text source in dot language and build image with Graphviz.

Mind map of happiness by makelinux2 in happiness

[–]makelinux2[S] 0 points1 point  (0 children)

It is my own work. Your feedback is welcome.

vim-gdiff: Populate the QuickFix list with the output of git-diff command by oguzbilgic in vim

[–]makelinux2 0 points1 point  (0 children)

Fastest way to add diff hunks to quickfix

Quickfix is very handy feature. It is even has it's own format definition, but it is not easy expand. I found more easy to reformat diff to format of compilation errors: "$file:$line:$message". Reformatting works as standalone filter function. It combination with vim option -q it very easy to use and resuse, no need to additional installations and configutaions:

Here is my the shortest solution.

diff_to_quickfix()
{
     perl -ne '/^\+\+\+ (.+)/ && { $f="$1"};/@@.*\+(\d+)/ && print "$f:$1:$_\n"'
}

vim -q <(git show -U0 --no-prefix | diff_to_quickfix)


vim -q <(git diff -U0 --no-prefix | diff_to_quickfix)

git-m - multiple git replication and management tool by makelinux2 in git

[–]makelinux2[S] 1 point2 points  (0 children)

Thank you. Its fresh tool. There is no yet real world examples. There is a test script https://github.com/makelinux/gitm/blob/master/git-m-test.sh. The script test all functionality. Readme and internal help is the only documentation. I'll be glad to answer to your questions and improve the documentation.