As you say. Used to indicate agreement.
[Probably alteration of Spanish exactamente, exactly (influenced by Spanish mundo, world).]
American Heritage® Dictionary of the English Language, Fifth Edition. Copyright © 2016 by Houghton Mifflin Harcourt Publishing Company. Published by Houghton Mifflin Harcourt Publishing Company. All rights reserved.