Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I save the current tig options into a file

Tags:

tig

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 ...)

like image 940
Dangelov Avatar asked Oct 22 '25 14:10

Dangelov


1 Answers

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.

like image 193
cfi Avatar answered Oct 25 '25 23:10

cfi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!