Search code examples
tig

How can I save the current tig options into a file


I've made several modifications manually in tig, and I want to store them.

How can I save the current set of changed tig options into a file (the ones, that I can toggle using the (o) key in tig) ?

(I know about .tigrc, so if there is a way to force tig to dump the current settings into its .tigrc file, I guess it will suffice ...)


Solution

  • As of version 2.1 of tig this can now be done from within tig by typing : to get into the command mode and then save-options <filename>.

    All options are then dumped to the named file regardless of their state in any of the configuration files.