<commit_before>--
-- Notion tiling module configuration file
--

-- Bindings for the tilings. 
defbindings("WTiling", {
    bdoc("Split current frame vertically."),
    kpress(META.."S", "WTiling.split_at(_, _sub, 'bottom', true)"),
    
    bdoc("Go to frame above/below current frame."),
    kpress(META.."P", "ioncore.goto_next(_sub, 'up', {no_ascend=_})"),
    kpress(META.."N", "ioncore.goto_next(_sub, 'down', {no_ascend=_})"),
    mclick(META.."Shift+Button4", "ioncore.goto_next(_sub, 'up', {no_ascend=_})"),
    mclick(META.."Shift+Button5", "ioncore.goto_next(_sub, 'down', {no_ascend=_})"),

    bdoc("Go to frame right/left of current frame."),
    kpress(META.."Tab", "ioncore.goto_next(_sub, 'right')"),
    submap(META.."K", {
        kpress("Tab", "ioncore.goto_next(_sub, 'left')"),
        
        bdoc("Split current frame horizontally."),
        kpress("S", "WTiling.split_at(_, _sub, 'right', true)"),
        
        bdoc("Destroy current frame."),
        kpress("X", "WTiling.unsplit_at(_, _sub)"),
    }),
})

-- Frame bindings.
defbindings("WFrame.floating", {
    submap(META.."K", {<commit_msg>Adding frame changes. Could not load keys for some reason but I have emailed the mailing list to see what the problem is.<commit_after>--
-- Notion tiling module configuration file
--

-- Bindings for the tilings. 
defbindings("WTiling", {
    bdoc("Go to frame right of current frame."),
    kpress(META.."Right", "ioncore.goto_next(_sub, 'right')"),
    bdoc("Go to frame left of current frame."),
    kpress(META.."Left", "ioncore.goto_next(_sub, 'left')"),
    bdoc("Go to frame above current frame."),
    kpress(META.."Up", "ioncore.goto_next(_sub, 'up', {no_ascend=_})"),
    bdoc("Go to frame below current frame."),
    kpress(META.."Down", "ioncore.goto_next(_sub, 'down', {no_ascend=_})"),

    bdoc("Split current frame vertically."),
    kpress(META.."\|", "WTiling.split_at(_, _sub, 'bottom', true)"),
    bdoc("Split current frame horizontally."),
    kpress(META.."\-", "WTiling.split_at(_, _sub, 'right', true)"),
        
    bdoc("Destroy current frame."),
    kpress("+", "WTiling.unsplit_at(_, _sub)"),
})

-- Frame bindings.
defbindings("WFrame.floating", {
    submap(META.."K", {
{'fraction_non_alphanumeric': 0.19703770197486534, 'fraction_numerical': 0.0008976660682226212, 'mean_word_length': 3.722457627118644, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6848428', 'n_tokens_mistral': 806, 'n_tokens_neox': 780, 'n_words': 176}