mattn / mattn/emmet-vim

Add ability to disable emmet leader key?

Open
#528 4 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Vim Script
Stars
6.5k
Forks
414
PR merge metrics
No merged PRs in 30d

Description

I personally have these mappings:

imap <C-e> <plug>(emmet-expand-abbr)
nmap ]e <plug>(emmet-move-next)
nmap [e <plug>(emmet-move-prev)

And never use the emmet leader, and want to free up that mapping for something else. What are your thoughts on allowing users to disable the leader key altogether? Maybe something like...

let g:user_emmet_leader_key = 0

Thoughts?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the emmet leader-key mappings and the proposed g:user_emmet_leader_key setting. Confirm how disabling that setting should affect the leader mapping while preserving the shown mappings, and verify that the leader can be freed without breaking expansion or navigation.

Written by the indexing model from the issue text.

Assessment

Tech stack
vim
Domain
tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.