jonas/tig — pull request #55 by v0n (2012-05-16 21:02:31+00:00)
Title: Extend prompt

Hi Jonas!

This patchset improves the prompt a bit.

You can type keybindings (e.g. `:h`), tig actions (e.g. `:view-diff`), tig config options (e.g. `:color main-ref red black bold`, `:set ignore-case = yes`), and external commands, by prefixing with a '!' (e.g. `:!git log %(file)`, or `:!ls`).

Note: The only "issue" is, if you type `:source foo.tig` with "foo.tig" containing `color` options, colors won't be reloaded. A way to fix it might be to update colors info before returning in `option_color_command()` on success, instead of doing it in `init_colors()` (and reverting my last commit).

I guess vim users will enjoy typing `:q`!

Cheers,
Vivien.