{ "//": "Deft radial-menu config. Copy to $XDG_CONFIG_HOME/deft/radials.json", "//trigger": "Each radial may have a key 'trigger' (e.g. \"Alt+R\") and/or a mouse 'button' (\"RightButton\" | \"MiddleButton\").", "//slices": "A slice is a leaf { \"label\", \"action\": } or a branch { \"label\", \"slices\": [ ... ] }. The special action \"deft_command_palette\" opens the M-x palette.", "radials": [ { "name": "edit", "trigger": "Alt+R", "button": "RightButton", "slices": [ { "label": "Comment", "action": "comment" }, { "label": "Uncomment", "action": "uncomment" }, { "label": "Join Lines", "action": "join_lines" }, { "label": "Move Up", "action": "move_lines_up" }, { "label": "Move Down", "action": "move_lines_down" }, { "label": "More", "slices": [ { "label": "Align", "action": "tools_align" }, { "label": "UPPER", "action": "tools_uppercase" }, { "label": "lower", "action": "tools_lowercase" }, { "label": "File…", "action": "deft_goto_file" }, { "label": "Sym…", "action": "deft_goto_symbol" }, { "label": "M-x", "action": "deft_command_palette" } ] } ] }, { "name": "window", "button": "MiddleButton", "slices": [ { "label": "Split |", "action": "view_split_vert" }, { "label": "Split —", "action": "view_split_horiz" }, { "label": "Close", "action": "view_close_current_space" }, { "label": "Only", "action": "view_close_others" }, { "label": "Rotate", "action": "view_split_toggle" }, { "label": "Focus", "slices": [ { "label": "←", "action": "go_left_split_view" }, { "label": "→", "action": "go_right_split_view" }, { "label": "↑", "action": "go_upward_split_view" }, { "label": "↓", "action": "go_downward_split_view" }, { "label": "Next", "action": "go_next_split_view" }, { "label": "Prev", "action": "go_prev_split_view" } ] } ] } ] }