-- ┌───────────────────────────────────────────────────────────────────────────────────┐
-- │ █▓▒░ svermeulen/vim-NotableFt                                                     │
-- └───────────────────────────────────────────────────────────────────────────────────┘
return {'svermeulen/vim-NotableFt', -- better f-t-bindings
    config=function()
        vim.g.NotableFtUseDefaults=false

        map('n', ';', '<plug>NotableFtRepeatSearchForward', {silent=true})
        map('n', ',', '<plug>NotableFtRepeatSearchBackward', {silent=true})
        map('n', 'f', '<plug>NotableFtSearchFForward', {silent=true})
        map('n', 't', '<plug>NotableFtSearchTForward', {silent=true})
        map('n', 'T', '<plug>NotableFtSearchTBackward', {silent=true})

        map('x', ';', '<plug>NotableFtRepeatSearchForward', {silent=true})
        map('x', ',', '<plug>NotableFtRepeatSearchBackward', {silent=true})
        map('x', 'f', '<plug>NotableFtSearchFForward', {silent=true})
        map('x', 'F', '<plug>NotableFtSearchFBackward', {silent=true})
        map('x', 't', '<plug>NotableFtSearchTForward', {silent=true})
        map('x', 'T', '<plug>NotableFtSearchTBackward', {silent=true})

        map('o', ';', '<plug>NotableFtRepeatSearchForward', {silent=true})
        map('o', ',', '<plug>NotableFtRepeatSearchBackward', {silent=true})
        map('o', 'f', '<plug>NotableFtSearchFForward', {silent=true})
        map('o', 'F', '<plug>NotableFtSearchFBackward', {silent=true})
        map('o', 't', '<plug>NotableFtSearchTForward', {silent=true})
        map('o', 'T', '<plug>NotableFtSearchTBackward', {silent=true})
    end
}
