Option to not record duplicates in the command history?

Hi all, I like the command history in chimera a lot - it makes it very quick to repeat previous commands. One minor alteration that might make it a little bit better would be to have an option (maybe in the Command Line section of the preferences?) to not record sequential duplicate commands in the history (like the “ignoredups” option for the bash history). I will often repeat the same command a bunch of times (for example “turn x 5” or one of the various aliases I use for navigation and recentering), and so not having all these duplicates recorded in the history would make it a lot faster to find recently used commands. Cheers, Oliver.

Hi Oliver, There is a “remove duplicate consecutive commands” choice at the bottom if you click the black triangle at the right of the Command line to show the recent commands. Best, Elaine ----- Elaine C. Meng, Ph.D. UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab Department of Pharmaceutical Chemistry University of California, San Francisco On Jul 31, 2015, at 8:31 AM, Oliver Clarke <olibclarke@gmail.com> wrote:
Hi all, I like the command history in chimera a lot - it makes it very quick to repeat previous commands.
One minor alteration that might make it a little bit better would be to have an option (maybe in the Command Line section of the preferences?) to not record sequential duplicate commands in the history (like the “ignoredups” option for the bash history).
I will often repeat the same command a bunch of times (for example “turn x 5” or one of the various aliases I use for navigation and recentering), and so not having all these duplicates recorded in the history would make it a lot faster to find recently used commands.
Cheers, Oliver.

Thanks Elaine that’s great! I didn’t realize that was an option. I still think it would be handy at some point to have this as an automatically applied preference, so that duplicate commands are not recorded in the first place. Cheers, Oliver.
On Jul 31, 2015, at 11:42 AM, Elaine Meng <meng@cgl.ucsf.edu> wrote:
Hi Oliver, There is a “remove duplicate consecutive commands” choice at the bottom if you click the black triangle at the right of the Command line to show the recent commands. Best, Elaine ----- Elaine C. Meng, Ph.D. UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab Department of Pharmaceutical Chemistry University of California, San Francisco
On Jul 31, 2015, at 8:31 AM, Oliver Clarke <olibclarke@gmail.com> wrote:
Hi all, I like the command history in chimera a lot - it makes it very quick to repeat previous commands.
One minor alteration that might make it a little bit better would be to have an option (maybe in the Command Line section of the preferences?) to not record sequential duplicate commands in the history (like the “ignoredups” option for the bash history).
I will often repeat the same command a bunch of times (for example “turn x 5” or one of the various aliases I use for navigation and recentering), and so not having all these duplicates recorded in the history would make it a lot faster to find recently used commands.
Cheers, Oliver.
participants (2)
-
Elaine Meng
-
Oliver Clarke