Skip to content

tmuxp freeze: ``window_name`` to the top of the dict #41

Open
tony opened this Issue Jan 8, 2014 · 3 comments

1 participant

@tony
Owner
tony commented Jan 8, 2014

Have window_name freeze to the top of the dict.

@tony tony was assigned Jan 8, 2014
@tony
Owner
tony commented Feb 8, 2014

This may require work on the Kaptan front. https://github.com/tony/tmuxp/tree/OrderedFreeze

@tony
Owner
tony commented Feb 8, 2014

http://docs.python.org/2/howto/sorting.html

Regarding JSON:
http://stackoverflow.com/questions/10844064/items-in-json-object-are-out-of-order-using-json-dumps

This may be true, JSON ordered of hashes may not have value when processing, but to the human eye, a proper config should have window_name and import values at the top.

{
  "window_name": "my window",
  "layout": "main-vertical"
  "options": {
    "main-pane-height": 35
  }
}
@tony tony removed this from the Milestone 0.2 milestone Jun 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.