Adding new sorting key

From Vifm Wiki
Revision as of 08:50, 11 August 2015 by Xaizek (talk | contribs) (Initial version of the page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  1. Update SK_* items in ui/ui.h, that is add new value to the end of the list and update SK_LAST.
  2. Compile errors will show arrays/switches that need an update (with -Werror, just configure as ./configure --enable-developer ...).
  3. Note that order in sorting dialog differs from enumeration values and is mapped to them via indexes indirection array in modes/dialogs/sort_dialog.c.