Skip to content

Refactor: Standardize inconsistent keymap formats #181

@YousefHadder

Description

@YousefHadder

As part of the v2.0 update, we need to standardize the keymap definitions in lua/markdown-plus/table/keymaps.lua and lua/markdown-plus/headers/toc_window.lua to match the pattern used in keymap_helper.lua.

Current State:

  • table/keymaps.lua manually defines <Plug> mappings and uses vim.keymap.set directly.
  • headers/toc_window.lua has hardcoded buffer-local keymaps.

Desired State:

  • All modules should utilize keymap_helper.setup_keymaps for consistency.
  • Configuration should drive these keymaps.

Parent Issue: #180

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions